diff options
| author | Aymeric Augustin | 2013-10-14 14:30:18 -0700 |
|---|---|---|
| committer | Aymeric Augustin | 2013-10-14 14:30:18 -0700 |
| commit | 188682a4bbb06e1181d30d624ec37f727e8f6a5e (patch) | |
| tree | 7226ed441ddc5b849432637fb08a0ca9d5995122 /example/wsgi.py | |
| parent | 87c314de8ff024d17b0a8eebb853e203e375fc12 (diff) | |
| parent | 1af4317555c3c1d622f8811bf9b1517d409bfb55 (diff) | |
| download | django-debug-toolbar-188682a4bbb06e1181d30d624ec37f727e8f6a5e.tar.bz2 | |
Merge pull request #408 from aaugustin/modernize-example-project
Modernize example project. Fix #406.
Diffstat (limited to 'example/wsgi.py')
| -rw-r--r-- | example/wsgi.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/example/wsgi.py b/example/wsgi.py new file mode 100644 index 0000000..f87faba --- /dev/null +++ b/example/wsgi.py @@ -0,0 +1,7 @@ +"""WSGI config for example project.""" + +import os +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "example.settings") + +from django.core.wsgi import get_wsgi_application +application = get_wsgi_application() |
