Archive for the 'Greg’s Bookmarks on Delicious' Category

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.

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.

Introduction to Python/Django tests: Fixtures | Surfing in Kansas

posted on June 22nd, 2009 by PyromanX in Greg's Bookmarks on Delicious

Introduction to Python/Django tests: Fixtures | Surfing in Kansas

posted on June 22nd, 2009 by PyromanX in Greg's Bookmarks on Delicious

VIM as Python IDE | Alain M. Lafon

posted on May 31st, 2009 by PyromanX in Greg's Bookmarks on Delicious

VIM as Python IDE | Alain M. Lafon

posted on May 31st, 2009 by PyromanX in Greg's Bookmarks on Delicious

Classleaf — Easy To Use Class Website Management For Schools

posted on May 28th, 2009 by PyromanX in Greg's Bookmarks on Delicious

Classleaf — Easy To Use Class Website Management For Schools

posted on May 28th, 2009 by PyromanX in Greg's Bookmarks on Delicious

Introducing django-spellcorrector – Peterbe.com (Peter Bengtsson on Python, Zope, Kung Fu, London and photos)

posted on May 27th, 2009 by PyromanX in Greg's Bookmarks on Delicious

Introducing django-spellcorrector – Peterbe.com (Peter Bengtsson on Python, Zope, Kung Fu, London and photos)

posted on May 27th, 2009 by PyromanX in Greg's Bookmarks on Delicious