pythondjangodjango-channelschannelasgi

Cannot import ASGI_APPLICATION module 'myproject.routing'


I've followed the channels 2 tutorial, but I'm getting this error after running py manage.py runserver

File "C:\Users\Mach2\AppData\Local\Programs\Python\Python37-32\lib\site-packages\channels\routing.py", line 35, in get_default_application
    raise ImproperlyConfigured("Cannot import ASGI_APPLICATION module %r" % path)
django.core.exceptions.ImproperlyConfigured: Cannot import ASGI_APPLICATION module 'channels_test.routing'

Solution

  • I've solved the error, i was using the version 3.0.dev20190127224143 of django, and i solved doing the roll back to the version 2.1.7