Category Archives: Code
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
My 4 favourite development sites
1. Hacker News I habitually go to hacker news a few times a day, the people are intelligent and the discussion is the right mixture of coding, entrepreneurial and geek. It is also the first site I’ve consistently commented on, the karma feedback … Continue reading
Why do I seek to be a better developer?
I am continually reading about programming, software engineering and project management, both on the net and in dead tree form, my latest dead tree being Effective C++ by Scott Meyers. This reading is out of a desire to be a … Continue reading