Opened 7 years ago

Closed 7 years ago

#18193 closed Cleanup/optimization (invalid)

show_urls is listing invalid urls

Reported by: aaron.lisman@… Owned by: nobody
Component: Core (Management commands) Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


If you include() some urlpatterns using a regex that ends in $, the included urls will show up when running ' show_urls', but they will 404 (as they should).


foo_patterns = patterns('', url(r'^something/$', 'myapp.views.something'))
urlpatterns = patterns('', url(r'^foos/$', include(foo_patterns)))

show_urls will list /foos/something/, but that path will 404

Change History (1)

comment:1 Changed 7 years ago by Claude Paroz

Resolution: invalid
Status: newclosed

show_urls is not part of Django itself. You'll probably want to report the issue in

Note: See TracTickets for help on using tickets.
Back to Top