summaryrefslogtreecommitdiff
path: root/ql/__init__.py
diff options
context:
space:
mode:
authorMichal Zimniewicz <michzimny@gmail.com>2016-10-09 11:27:06 +0200
committerMichal Zimniewicz <michzimny@gmail.com>2016-10-09 11:27:06 +0200
commit0a27bbf9ce1f5b1a52bc62ff4d9e5c2f960b030c (patch)
treedf4a562b9e2452bc288264156c1e47bf6fcedeb3 /ql/__init__.py
Initial commit
Diffstat (limited to 'ql/__init__.py')
-rwxr-xr-xql/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ql/__init__.py b/ql/__init__.py
new file mode 100755
index 0000000..de05759
--- /dev/null
+++ b/ql/__init__.py
@@ -0,0 +1,5 @@
+# bootstrap Django for ORM
+import os
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ql.settings")
+from django.core.wsgi import get_wsgi_application
+get_wsgi_application()