X-Git-Url: https://code.kerkeslager.com/?p=txt.house;a=blobdiff_plain;f=txt_house%2Fwsgi.py;fp=txt_house%2Fwsgi.py;h=fc070c66638c3f31171597d7d25c9909a4fd6227;hp=0000000000000000000000000000000000000000;hb=41e1451c39e5fbc1a22123e0492d1e549037d1e8;hpb=f6cd0459517abd301e95fb403fe76996dffd271d diff --git a/txt_house/wsgi.py b/txt_house/wsgi.py new file mode 100644 index 0000000..fc070c6 --- /dev/null +++ b/txt_house/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for txt_house 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/3.0/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'txt_house.settings') + +application = get_wsgi_application()