[Bug 996640] [NEW] named urls should begin with a unique common prefix

Public bug reported: By Django common practice, in most cases, URL names should be distinct within a flat namespace. This avoids naming conflicts and leaves the Django Namespace mechanism available for other uses. I recommend starting each URL name with "mm_", rather than "domain_index" use "mm_domain_index", etc. ** Affects: postorius Importance: Undecided Status: New -- You received this bug notification because you are a member of Mailman Coders, which is the registrant for Postorius. https://bugs.launchpad.net/bugs/996640 Title: named urls should begin with a unique common prefix To manage notifications about this bug go to: https://bugs.launchpad.net/postorius/+bug/996640/+subscriptions

This should clearly go into the next release, so we avoid any url pattern collisions with other apps. However, I tend to think that the Django namespace mechanism for view names might be the better solution. We cannot rule out that someone else might use the 'mm_' prefix for view_names, but Django's namespace mechanism can. Why is it not a good idea to use the Django mechanism? ** Changed in: postorius Status: New => Confirmed ** Changed in: postorius Milestone: None => 1.0.0a2 -- You received this bug notification because you are a member of Mailman Coders, which is the registrant for Postorius. https://bugs.launchpad.net/bugs/996640 Title: named urls should begin with a unique common prefix To manage notifications about this bug go to: https://bugs.launchpad.net/postorius/+bug/996640/+subscriptions
participants (2)
-
Florian Fuchs
-
Richard Wackerbarth