Skip to content

Conversation

@gavinwahl
Copy link
Contributor

Some applications require using a catch-all urlpattern that must come last in the list of urlpatterns. If the __debug__ urls come after it, they'll never be hit.

Putting the debug_toolbar urls first fixes this, but could possibly shadow an existing url, but the old version of debug toolbar did the same thing.

Some applications require using a catch-all urlpattern that must come
last in the list of urlpatterns. If the __debug__ urls come after it,
they'll never be hit.

Putting the debug_toolbar urls first fixes this, but could possibly
shadow an existing url, but the old version of debug toolbar did the
same thing.
aaugustin added a commit that referenced this pull request Dec 12, 2013
Put debug_toolbar's url patterns first
@aaugustin aaugustin merged commit 59e4931 into django-commons:master Dec 12, 2013
ryneeverett pushed a commit to ryneeverett/django-debug-toolbar that referenced this pull request Oct 2, 2016
Put debug_toolbar's url patterns first
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

Successfully merging this pull request may close these issues.

2 participants