X-Git-Url: https://git.mdrn.pl/django-sponsors.git/blobdiff_plain/c47ec7131be40d01ee3a38a4b2e0715dda7aff1d..f560e8bf20e2517ebf7c8e1a3ace5c344b1a0145:/example_project/core/wsgi.py diff --git a/example_project/core/wsgi.py b/example_project/core/wsgi.py new file mode 100644 index 0000000..fb78e28 --- /dev/null +++ b/example_project/core/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for core 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/2.2/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings') + +application = get_wsgi_application()