Commit c89a8d41 by Chif Gergő

Initialize ASGI application

parent d00e97ab
from channels.routing import ProtocolTypeRouter
application = ProtocolTypeRouter({
# Empty for now (http->django views is added by default)
})
......@@ -43,6 +43,7 @@ INSTALLED_APPS = [
"corsheaders",
"guardian",
"django_nose",
"channels"
]
LOCAL_APPS = [
......@@ -240,3 +241,5 @@ AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend', # this is default
'guardian.backends.ObjectPermissionBackend',
)
ASGI_APPLICATION = "recircle.routing.application"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment