Tag Archives: django
Django and Dreampie
As would be obvious by now I am a dedicated djangonaut (cheesy name I know) and I’ve been using django long enough now that using the ORM (Object Relational Mapping) is becoming second nature. Using SQL for anything but database … Continue reading
Django Site Admin Emails
There is a neat feature in defaultĀ behaviorĀ of Django. If while rendering a view it throws an uncaught exception it emails all the sysadmins in it’s settings file. This simple little feature is great on several levels. Repeatedly getting emails about … Continue reading
Adding Composite Primary Keys to Django
Composite primary keys are great and relating two records together is best done using them. Adding another field just to identify the relationship makes the table un-normalized (that isn’t a word is it?) and we all want our tables normalized … Continue reading