
Introspecting views in Django
Monday, February 15th, 2010
I've been developing small wikiesque app for Django recently, and since I'm a fan of human-friendly URIs I had some difficulty coming up with a DRY method for finding the primary model associated with any given view within my project. Of course, not every view is directly associated with a single model, but in most cases you can probably inspect each of your views and conclude that there is a single primary model instance which is most directly related.
In this example, I'll explain the method which I've decided to use in order to take any requested URI path and rather than resolve it into a view, we will resolve it to a specific model instance. This greatly simplifies the process of creating sub-views which have access to the parent view's primary model instance.
Tux used for nefarious purposes
Wednesday, December 23rd, 2009Merry Christmas
Sunday, December 20th, 2009Second Creeple results
Thursday, November 19th, 2009The second attempt ( Creeple: part 2 )
Monday, August 10th, 2009My Recent Tweets

Christmas Tux 2012
Tuesday, November 27th, 2012Merry Christmas! Created in Inkscape 0.48 over the course of about 4 days. This year I decided to record my entire series of Inkscape sessions and thought it'd be fun to speed them up 4x and upload them to Youtube.
Youtube: http://youtu.be/DuJw_bDqqHA click here to view
Youtube: http://youtu.be/DuJw_bDqqHA click here to view
