Author Archive
Python Projects in Users’ Home Directories with wsgi
posted on July 8th, 2009 by PyromanX in Greg's Bookmarks on DeliciousLetting users put static files and php files in a public_html folder in their home directory has been a common convention for some time. I created a way for users to have a public_python folder that will allow for python projects.
Python Projects in Users’ Home Directories with wsgi
posted on July 8th, 2009 by PyromanX in Greg's Bookmarks on DeliciousLetting users put static files and php files in a public_html folder in their home directory has been a common convention for some time. I created a way for users to have a public_python folder that will allow for python projects.
DivmodReverend – Divmod – Trac
posted on July 6th, 2009 by PyromanX in Greg's Bookmarks on DeliciousDivmodReverend – 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 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.
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.