diff options
author | Mark Powers <mark@marks.kitchen> | 2024-07-14 15:30:27 -0500 |
---|---|---|
committer | Mark Powers <mark@marks.kitchen> | 2024-07-14 15:30:27 -0500 |
commit | ad232020d57d2c77dfd5400dc4a8290b484c8ba2 (patch) | |
tree | 3e2121666986c67fe554a1e9046682b7370d412e /journal/asgi.py |
Initial commitmain
Diffstat (limited to 'journal/asgi.py')
-rw-r--r-- | journal/asgi.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/journal/asgi.py b/journal/asgi.py new file mode 100644 index 0000000..52a0537 --- /dev/null +++ b/journal/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for journal project. + +It exposes the ASGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'journal.settings') + +application = get_asgi_application() |