1
0
mirror of https://github.com/docker/awesome-compose.git synced 2025-06-30 01:31:06 +00:00
awesome-compose/django/app/example/wsgi.py
Wes Lord 41904edd6a Update Django example project files to match 4.2 template
Signed-off-by: Wes Lord <weslord@fisgardlabs.com>
2024-12-21 14:08:00 -08:00

17 lines
391 B
Python

"""
WSGI config for example 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/4.2/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "example.settings")
application = get_wsgi_application()