diff options
Diffstat (limited to 'chat/wsgi.py')
| -rw-r--r-- | chat/wsgi.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chat/wsgi.py b/chat/wsgi.py new file mode 100644 index 0000000..cdfbb23 --- /dev/null +++ b/chat/wsgi.py | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | """ | ||
| 2 | WSGI config for chat project. | ||
| 3 | |||
| 4 | It exposes the WSGI callable as a module-level variable named ``application``. | ||
| 5 | |||
| 6 | For more information on this file, see | ||
| 7 | https://docs.djangoproject.com/en/5.0/howto/deployment/wsgi/ | ||
| 8 | """ | ||
| 9 | |||
| 10 | import os | ||
| 11 | |||
| 12 | from django.core.wsgi import get_wsgi_application | ||
| 13 | |||
| 14 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'chat.settings') | ||
| 15 | |||
| 16 | application = get_wsgi_application() | ||
