eregs/regulations-site — pull request #220 by khandelwal (2013-08-12 17:53:50+00:00)
Title: Fixed settings files, so that we can use production.py in production

To use the production settings file, we need to do a couple things:

1. You'll need to change the ALLOWED_HOSTS setting
2. You'll need to change the STATIC_ROOTS setting to reflect where the static assets should go.

From the Django documentation:

Set the STATIC_ROOT setting to the directory from which you’d like to serve these files, for example:

STATIC_ROOT = "/var/www/example.com/static/"
Run the collectstatic management command:

./manage.py collectstatic
This will copy all files from your static folders into the STATIC_ROOT directory.