show_urls is listing invalid urls
|Reported by:||aaron.lisman@…||Owned by:||nobody|
|Component:||Core (Management commands)||Version:||1.4|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
If you include() some urlpatterns using a regex that ends in $, the included urls will show up when running 'manage.py 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