-
-
Notifications
You must be signed in to change notification settings - Fork 800
-
-
Notifications
You must be signed in to change notification settings - Fork 800
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
URLRouter with path() does not work with get_asgi_application() as a route #1964
Comments
I figured it out, using |
carltongibson
changed the title
URLRouter does not work with get_asgi_application() as a route
URLRouter with path() does not work with get_asgi_application() as a route
Jan 10, 2023
up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System
Python 3.11.0 / macOS Ventura 13.1
Bug
According to the documentation we should be able to do long-polling alongside regular Django views:
But it looks like
path("", get_asgi_application())
does not route to regular Django views:project/settings.py
project/asgi.py
project/urls.py
Running:
Accessing
http://localhost:8000/test/
results in an Exception:The text was updated successfully, but these errors were encountered: