mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
default wsgi.py
This commit is contained in:
parent
d5877bf2a6
commit
870e3627bf
1 changed files with 16 additions and 0 deletions
16
example/cheeseshop/wsgi.py
Normal file
16
example/cheeseshop/wsgi.py
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
"""
|
||||||
|
WSGI config for cheeseshop project.
|
||||||
|
|
||||||
|
It exposes the WSGI callable as a module-level variable named ``application``.
|
||||||
|
|
||||||
|
For more information on this file, see
|
||||||
|
https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/
|
||||||
|
"""
|
||||||
|
|
||||||
|
import os
|
||||||
|
|
||||||
|
from django.core.wsgi import get_wsgi_application
|
||||||
|
|
||||||
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cheeseshop.settings")
|
||||||
|
|
||||||
|
application = get_wsgi_application()
|
||||||
Loading…
Reference in a new issue