A Django Model Manager for Soft Deleting Records and How to Customize the Django Admin
posted on July 1st, 2009 by PyromanX in Greg's Bookmarks on DeliciousSometimes it’s good to hide things instead of deleting them. Users may accidentally delete something and this way there will be an extra backup. The way I’ve been doing this is I set a flag in the database, deleted = 1. I wrote this code to automatically hide records from django if they are flagged.