#18193: show_urls is listing invalid urls --------------------------------------------+-------------------- Reporter: aaron.lisman@… | Owner: nobody Type: Cleanup/optimization | Status: new Component: Core (Management commands) | Version: 1.4 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------------------+-------------------- 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).
e.g.: {{{ 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 -- Ticket URL: <https://code.djangoproject.com/ticket/18193> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.