summaryrefslogtreecommitdiff
path: root/django/conf/project_template/project_name/wsgi.py
blob: 94d60c8cf9f56d4a400eab4626bf1b2439c606db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""
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")

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()