From ad2762cf775a8dde508de47164d6429f3fd724f1 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Sun, 24 May 2015 16:57:33 +0800 Subject: Move to a more recent django project structure This change updates patchwor to the newer project struture: we've moved the actual application out of the apps/ directory, and the patchwork-specific templates to under the patchwork application. This gives us the manage.py script in the top-level now. Signed-off-by: Jeremy Kerr --- manage.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 manage.py (limited to 'manage.py') diff --git a/manage.py b/manage.py new file mode 100755 index 0000000..04eac77 --- /dev/null +++ b/manage.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python +import os +import sys + +if __name__ == "__main__": + os.environ.setdefault("DJANGO_SETTINGS_MODULE", "patchwork.settings.prod") + + from django.core.management import execute_from_command_line + + execute_from_command_line(sys.argv) -- cgit v1.2.3