-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
404 error on django 2.2 #1152
Comments
In Django 2.2 I use such code: if settings.DEBUG:
import debug_toolbar
urlpatterns += [path('__debug__/', include(debug_toolbar.urls))] |
thank you @kwist-sgr but it's not work, |
I have the exact same issue. I'm not sure why it was closed. |
Same issue |
To offer some potential closure on this issue, the problem may be that an earlier pattern is claiming the __debug__/ path. For example, a catch-all pattern like this: In this case, the workaround is to put the debug toolbar path earlier in the list. For example:
|
django:2.2
python:3.7.3
in django 2.1 it's work
but in django 2.2 , i got 404 error
The text was updated successfully, but these errors were encountered: