Django Settings Tip - Setting Relative Paths. This is the first thing I do in every single one of my Django projects—it makes projects relocatable to other machines with just a couple of lines of code. I wouldn’t be at all upset to see it added to the default Django settings.py file created by ./manage.py startproject
Yes! I always do this, as well as splitting the settings into a local_settings as well for using VCSen.
Perhaps it's worth asking for this in after all, it's not just me.
Andrew Godwin - 12th February 2009 15:25 - #