#22384: Deprecate Django string magic in URLs and the ability to reverse by
dotted
path
--------------------------------------+------------------------------------
Reporter: timo | Owner: timo
Type: Cleanup/optimization | Status: new
Component: Core (URLs) | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by FunkyBob):
Gwildor, the feature pre-dates named url patterns [yes, there wasn't
always that feature].
Also, as I'm sure Alex will point out, it can make debugging harder, as
the error of a wrong import won't always show up, and will appear to come
from the wrong place when it does fire off.
This will have no impact on needing to call as_view on CBV. The as_view
method is a view function factory -- it is what makes the actual view
function used to invoke the CBV... you can't do without it.
--
Ticket URL: <https://code.djangoproject.com/ticket/22384#comment:6>
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/062.aece6a666ecb3e67feed683617591848%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.