Two Weeks With Django (2007) (2007)
But the final straw was with “static”? media which is what the Django folks call CSS, images, javascript, etc. The Django documentation makes no bones about this, they say it is not the role of the framework to deal with it, it should be served directly from Apache. While that makes sense from a performance standpoint, woe to the poor application developer trying to make some nice looking pages. Accessing static media within your templates requires a mixture of folder location, Django settings for media roots, and a complex regular expression url call that pattern matches the folder name to some sort of Django document root – well, I never was able to get an image displayed.
Ouch. I struggled with Django too, but lots of people love it.
Two Weeks With Django details John Taber’s frustrations.
Published: Tue Oct 16 2007 15:24:45 GMT-0400 (Eastern Daylight Time) by Dr. Matt Lee