Settings updates to support production installation.

This commit is contained in:
Chris Church
2013-05-21 09:10:48 -04:00
parent c6e32cde35
commit 7809e94fde
11 changed files with 114 additions and 61 deletions

View File

@@ -1,5 +1,10 @@
#!/usr/bin/env python
import os
if __name__ == '__main__':
# Since this manage.py will only be used when running from a source
# checkout, default to using the development settings.
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'lib.settings.development')
from lib import manage
manage()