Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

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

Tagged , , ,

1 comment

  1. 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 - #

Comments are closed.
A django site