Opened 5 years ago

Closed 5 years ago

#31562 closed New feature (wontfix)

Namespacing in urls to look at default app name.

Reported by: Ferdy Owned by: nobody
Component: Core (URLs) Version: 3.0
Severity: Normal Keywords: dry
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Why do I have to repeat the app name in the urls.py as app_name? In the spirit of DRY, I thought it would be useful to namespace urls by default using the name of the app (perhaps making url names also available with the short name if the short name is unique, to maintain some sort of backwards compatibility).

If there is good reason for the current behaviour, feel free to close.

Change History (1)

comment:1 by Mariusz Felisiak, 5 years ago

Resolution: wontfix
Status: newclosed
Summary: Namespacing in urls to look at default app nameNamespacing in urls to look at default app name.
Type: UncategorizedNew feature

Namespacing URL names is optional, you don't need to do this. Proposed "implicit" logic is backwards incompatible and would force all users to use namespaces.

Note: See TracTickets for help on using tickets.
Back to Top