#13409: "wrap" argument for django.conf.urls.defaults.url to decorate views more
easily
-------------------------------------+-------------------------------------
Reporter: yourcelf | Owner: nobody
Type: New feature | Status: closed
Component: Core (URLs) | Version: master
Severity: Normal | Resolution: invalid
Keywords: url, | Triage Stage: Accepted
RegexURLResolver, |
RegexURLPattern, decorators |
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by bpeschier):
* status: new => closed
* resolution: => invalid
Comment:
{{{patterns}}} and dotted string urls are now deprecated, which
invalidates the main focus of the ticket as described.
Though I can see the use case of wrapping groups of urls as aaugustin
described, pushing view functionality (decorators) through {{{include}}}
which just builds up the urlconf strikes me as inappropriate (what about
includes inside the included urlconf for example?).
--
Ticket URL: <https://code.djangoproject.com/ticket/13409#comment:9>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.f83a58e66fab842472a0b85cff599645%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.