summaryrefslogtreecommitdiffstats
path: root/manage.py
diff options
context:
space:
mode:
authorChris Church <chris@ninemoreminutes.com>2013-05-21 15:10:48 +0200
committerChris Church <chris@ninemoreminutes.com>2013-05-21 15:10:54 +0200
commit7809e94fde02bc40a780a7196f8f5513eb90a17e (patch)
treed39570af5281999cb9b0e757857ed7972ec4d3c2 /manage.py
parentAdded refresh button to jobs list page (diff)
downloadawx-7809e94fde02bc40a780a7196f8f5513eb90a17e.tar.xz
awx-7809e94fde02bc40a780a7196f8f5513eb90a17e.zip
Settings updates to support production installation.
Diffstat (limited to 'manage.py')
-rwxr-xr-xmanage.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/manage.py b/manage.py
index 866aa7cf9b..7b4c1dc3c1 100755
--- a/manage.py
+++ b/manage.py
@@ -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()