Template Inheritance in Django (aka The Django equivalent of a Rails layout)
by David Orkin on Oct.06, 2009, under Python, Django, Ruby on Rails
Whew, I was worried there for a second. Coming for the rails world, Im very familar with layouts and partial templates, something that I thought was completely missing from Django but I am so happy to be proven wrong. Thankfully there is a rather simple way to do this using Template Inheritance which allows for a template to extend another template, and then, using their block syntax, overwrite portions of the template that its extending. Another classic example of why the term RTFM was coined in the first place. Ok, now I get back to work on launching that Django application I've been working on!
Just Another Software Developer
by David Orkin on Oct.05, 2009, under Uncategorized
Hi, My name is David and I'm addicted to Software Engineering....
No this not the start of a TJA (Technology Junkie Annonomous) meeting but it could be. I like to discuss a wide range of topics from candy to living in Japan but Ill save those for other blogs. This blog, the one you are ready right now, is for the good old boring exciting world of Software Development and anything else related to Technology that strikes my fancy. Hope you enjoy the ride!