From f6d91138934dfde16c59b9d266d442964d1b9ea2 Mon Sep 17 00:00:00 2001 From: brad stein Date: Wed, 24 Oct 2018 23:28:57 -0500 Subject: [PATCH] seems the procfile may be wrong --- ChannelsDrawShareSite/asgi.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ChannelsDrawShareSite/asgi.py diff --git a/ChannelsDrawShareSite/asgi.py b/ChannelsDrawShareSite/asgi.py new file mode 100644 index 0000000..ca9bc5c --- /dev/null +++ b/ChannelsDrawShareSite/asgi.py @@ -0,0 +1,12 @@ +""" +ASGI entrypoint. Configures Django and then runs the application +defined in the ASGI_APPLICATION setting. +""" + +import os +import django +from channels.routing import get_default_application + +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ChannelsDrawShareSite.settings") +django.setup() +application = get_default_application()