Archive for the 'Greg's Bookmarks on Delicious' Category
DivmodReverend – Divmod – Trac
posted on July 6th, 2009 by PyromanX in Greg's Bookmarks on DeliciousA 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 Delicious
Sometimes 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.
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 Delicious
Sometimes 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.
I am the programmer behind 
