mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-05-21 05:41:54 +00:00
15 lines
482 B
Python
15 lines
482 B
Python
"""
|
|
WSGI config for {{ project_name }} 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/{{ docs_version }}/howto/deployment/wsgi/
|
|
"""
|
|
|
|
import os
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "{{ project_name }}.settings")
|
|
os.environ.setdefault("DJANGO_CONFIGURATION", "Dev")
|
|
|
|
from configurations.wsgi import get_wsgi_application
|
|
application = get_wsgi_application()
|