#19005: Allow class based views to be included in urls.py by name as a string
-----------------------------+--------------------------------------
Reporter: tanderegg | Owner: nobody
Type: New feature | Status: closed
Component: Core (URLs) | Version: master
Severity: Normal | Resolution: wontfix
Keywords: cbv | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Changes (by Alex):
* status: new => closed
* resolution: => wontfix
Comment:
I'm wontfixing this. It was an intentional design decision for CBVs not to
have any special support in the URL system or elsewhere. Making this
change would complicate the view contract, which ATM is very simple.
For bonus points I'll add that I consider the string import path thing in
urls to be an anti-pattern and who's use should be discouraged.
--
Ticket URL: <https://code.djangoproject.com/ticket/19005#comment:3>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.