Opened 6 years ago

Closed 6 years ago

#19256 closed Cleanup/optimization (duplicate)

Provide class-based login view

Reported by: Benoît Bryon Owned by: nobody
Component: contrib.auth Version: 1.4
Severity: Normal Keywords: login
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


As of Django 1.4, django.contrib.auth.views.login is based on an old-style functional view.
It could use a class-based view.
It would be easier to create custom login views: mainly reuse more code.

This ticket could be considered as a sub-task of #17209.

Change History (1)

comment:1 Changed 6 years ago by Preston Holmes

Resolution: duplicate
Status: newclosed

Indeed, this is entirely just a part of #17209 - and doesn't really warrant its own ticket.

You are welcome to contribute a partial patch on the other ticket - but obviously complete patches are preferred.

Note: See TracTickets for help on using tickets.
Back to Top