Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

django.core.exceptions.ImproperlyConfigured: Cannot import ASGI_APPLICATION module 'cfehome.routing' #10

Open
yusharth opened this issue May 17, 2020 · 0 comments

Comments

@yusharth
Copy link

I tried all the way to sort this out even followed stuffs in tutorial line by line but still can't figure this out. I got some asgi application compatibility error during installation but ignored cuz I wasn't able to sort it out even after seeing it in GitHub and stack overflow. You are my last hope. I am an extreme beginner so sorry if I did some sort of silly mistakes.
My requirements file.
requirements.txt
My Settings.py
settings.txt
My Routing.py
routing.txt
my asgi.py
asgi.txt
The error:
(channels-rapid) yusharth@yusharth-G41T-R3:~/Dev/channels-rapid/src$ python3 manage.py runserver
Performing system checks...

System check identified no issues (0 silenced).
May 17, 2020 - 12:22:21
Django version 2.0.7, using settings 'cfehome.settings'
Starting ASGI/Channels version 2.1.2 development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
Exception ignored in thread started by: <function check_errors..wrapper at 0x7fdaa394bf70>
Traceback (most recent call last):
File "/home/yusharth/Dev/channels-rapid/lib/python3.8/site-packages/django/utils/autoreload.py", line 225, in wrapper
fn(*args, **kwargs)
File "/home/yusharth/Dev/channels-rapid/lib/python3.8/site-packages/channels/management/commands/runserver.py", line 80, in inner_run
application=self.get_application(options),
File "/home/yusharth/Dev/channels-rapid/lib/python3.8/site-packages/channels/management/commands/runserver.py", line 105, in get_application
return StaticFilesWrapper(get_default_application())
File "/home/yusharth/Dev/channels-rapid/lib/python3.8/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 'cfehome.routing'

Sorry, if it's too naive or shouldn't be here but I honestly need your help.TYSM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant