#4824: Enforce a check for duplicate named url patterns ---------------------------------------------+------------------------------ Reporter: Favo <f...@exoweb.net> | Owner: nobody Status: closed | Milestone: 1.3 Component: Core framework | Version: SVN Resolution: wontfix | Keywords: sprintsept14 Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ---------------------------------------------+------------------------------ Changes (by SmileyChris):
* status: new => closed * resolution: => wontfix Comment: Having duplicate url names is fine in cases where you use different arguments (and it resolves them correctly based on the arguments passed). For the case where a named argument is overriding an existing name (with exactly the same arguments), this is a case already documented to "not do": >When you name your URL patterns, make sure you use names that are unlikely to clash with any other application's choice of names. If you call your URL pattern comment, and another application does the same thing, there's no guarantee which URL will be inserted into your template when you use this name. -- Ticket URL: <http://code.djangoproject.com/ticket/4824#comment:11> Django <http://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-upda...@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.