#16197: Rewrite contrib auth to use class based views
-------------------------------------+-------------------------------------
Reporter: hvdklauw | Owner: hvdklauw
Type: | Status: new
Cleanup/optimization | Component: contrib.auth
Milestone: 1.4 | Severity: Normal
Version: SVN | Keywords:
Resolution: | Has patch: 0
Triage Stage: Design | Needs tests: 0
decision needed | Easy pickings: 0
Needs documentation: 0 |
Patch needs improvement: 0 |
UI/UX: 0 |
-------------------------------------+-------------------------------------
Changes (by hvdklauw):
* stage: Unreviewed => Design decision needed
Comment:
Right, so I started this, converted login and logout to class based views,
changed the current view functions to simply call the class based view and
give a PendingDeprecationWarning. Ran the tests, everything is fine.
Changed the urls.py in auth to use the Class Based views: Two errors:
Tests (and possibly other code) uses the view function dotpath to reverse
them, there is no name defined.
How should I solve this?
--
Ticket URL: <https://code.djangoproject.com/ticket/16197#comment:2>
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 this group at
http://groups.google.com/group/django-updates?hl=en.