Hi everyone,
channels is enabled inside the settings.py. I also created the asgi.py file in the direcotry of the wsgi.py file acording to the docs. But still i get this error
raise ImproperlyConfigured("Cannot find ASGI_APPLICATION setting.")
django.core.exceptions.ImproperlyConfigured: Cannot find ASGI_APPLICATION setting.
So it seems that ASGI_APPLICATION has to be specified. So after adding the following line:
ASGI_APPLICATION='mytestproject.asgi.application'
and starting ./manage.py runserver it now complains again. So which value is supposed to be there?
raise ImproperlyConfigured("Cannot find %r in ASGI_APPLICATION module %s" % (name, path))
django.core.exceptions.ImproperlyConfigured: Cannot find 'application' in ASGI_APPLICATION module mytestproject.asgi
I need to stick to version 2 as i want to try out asgigram (https://github.com/andrewgodwin/asgigram).
Thanks
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3c426628-13da-4ad3-8e4c-3e8938ab0c8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment