diff options
author | Chris Church <chris@ninemoreminutes.com> | 2013-05-21 15:10:48 +0200 |
---|---|---|
committer | Chris Church <chris@ninemoreminutes.com> | 2013-05-21 15:10:54 +0200 |
commit | 7809e94fde02bc40a780a7196f8f5513eb90a17e (patch) | |
tree | d39570af5281999cb9b0e757857ed7972ec4d3c2 /manage.py | |
parent | Added refresh button to jobs list page (diff) | |
download | awx-7809e94fde02bc40a780a7196f8f5513eb90a17e.tar.xz awx-7809e94fde02bc40a780a7196f8f5513eb90a17e.zip |
Settings updates to support production installation.
Diffstat (limited to 'manage.py')
-rwxr-xr-x | manage.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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() |