No description, website, or topics provided.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
django_host_settings move config directory outside of project Jul 9, 2012
LICENSE initial commit Oct 14, 2011 Update Jan 2, 2012 move config directory outside of project Jul 9, 2012



django-host-settings is a Django app which helps you create and load settings unique to each host running your Django project.


$ easy_install django-host-settings


$ git clone git://
$ cd django-host-settings
$ python install


In your


Then run these shell commands:

echo "import os" >>
echo "PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__))" >>
python createhostsettings
echo "from django_host_settings.settings import *" >>

You can now override any settings in your own settings file, created in the config/ directory of your project's root.

For instance, if your hostname is sir-robin, the createhostsettings command will create a file, config/ that you could define Django settings in, such as DEBUG = True. These settings will be loaded along with, and override, the settings defined in