12345678910111213141516171819 |
- """
- 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
- from django.core.wsgi import get_wsgi_application
- from mezzanine.utils.conf import real_project_name
- os.environ.setdefault("DJANGO_SETTINGS_MODULE",
- "%s.settings" % real_project_name("{{ project_name }}"))
- application = get_wsgi_application()
|