#31562: Namespacing in urls to look at default app name
-----------------------------------------+------------------------
Reporter: ferdynice | Owner: nobody
Type: Uncategorized | Status: new
Component: Core (URLs) | Version: 3.0
Severity: Normal | Keywords: dry
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
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.
--
Ticket URL: <https://code.djangoproject.com/ticket/31562>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.88ad1a1f504fbfd7e9fb50bd566a9059%40djangoproject.com.