Enforce a check for duplicate named url patterns
|Reported by:||Owned by:||nobody|
|Cc:||favo@…, dvanliere@…||Triage Stage:||Accepted|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The current naming url pattern don't check the duplication naming. As it said in documentatioin,
Note 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. Putting a prefix on your URL names, perhaps derived from the application name, will decrease the chances of collision. We recommend something like myapp-comment instead of comment.
I think it's quite easy to check the duplication naming url pattern in the construction stage and should be.
Change History (14)
comment:1 Changed 9 years ago by
|Patch needs improvement:||unset|
|Summary:||Avoid duplication naming url pattern → Enforce a check for duplicate named url patterns|
|Triage Stage:||Unreviewed → Design decision needed|