Three awesome Django tips
7 July 2008
Filed under Django
By far, the one tip that’s revolutionized my Django projects is this post by Rob Hudson, Django and Relativity:
My default Django settings file has changed over time to now include settings that do not depend on the location of the project on the filesystem. This is great in a team environment where more than one person is working on the same project, or when deploying your project to a web server that likely has different paths to the project root directory.
Nathan Ostgard wrote a post on how to use Django with Gmail and I come back to it all the time:
Did a bit of running around today to get Django sending email via Gmail. It’s simple once you figure it out. If you’re running 0.96, upgrade to the latest development version or apply the patch from ticket #2897. 0.96 does not support TLS, which Gmail requires. Then add the appropriate values to settings.py.
James Bennett‘s django-contact-form is indispensable and I use it all the time in the kind of sites I build at work. Mostly brochureware and conversion forms and what not, but its super-extensible so I can do all sorts of neat stuff just building off his base form class.
Do you have any Django applications, tips, snippets, or indispensable projects you use all the time? Please share in the comments! I love hearing about new stuff :)

