summaryrefslogtreecommitdiffstats
path: root/apps/manage.py
diff options
context:
space:
mode:
authorStephen Finucane <stephenfinucane@hotmail.com>2015-04-07 22:20:54 +0100
committerJeremy Kerr <jk@ozlabs.org>2015-05-03 13:46:52 +0800
commitae639a6a6aea26b0648a0e2d2fd4bccd7a41c791 (patch)
treeeee1eccf8d20895e25cf5c4946071a9e7ce8f5e9 /apps/manage.py
parentd4a2c1f8792f52fec0c881ab38c91635840a50c0 (diff)
downloadpatchwork-ae639a6a6aea26b0648a0e2d2fd4bccd7a41c791.tar.bz2
patchwork-ae639a6a6aea26b0648a0e2d2fd4bccd7a41c791.tar.xz
settings: Split 'settings.py' into multiple files
This will make testing/developing a little easier and prevent people deploying insecure instances. This also adds references to Django documentation in said files (for Django novices) and restructures the files to group them together logically. This allows us to remove the settings file used for tests. Signed-off-by: Stephen Finucane <stephenfinucane@hotmail.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/manage.py')
-rwxr-xr-xapps/manage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/manage.py b/apps/manage.py
index f9726f9..04eac77 100755
--- a/apps/manage.py
+++ b/apps/manage.py
@@ -3,7 +3,7 @@ import os
import sys
if __name__ == "__main__":
- os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
+ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "patchwork.settings.prod")
from django.core.management import execute_from_command_line