Opened 11 years ago

Closed 11 years ago

#22075 closed Cleanup/optimization (duplicate)

document customizing authentication views (e.g. login)

Reported by: Chris Jerdonek Owned by: nobody
Component: Documentation Version: 1.6
Severity: Normal Keywords: cookies, authentication, customizing, login, view
Cc: chris.jerdonek@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The Setting test cookies section of the Django documentation illustrates checking cookies using a sample login() view function.

However, the Customizing authentication in Django section of the Django documentation doesn't provide any hints as to whether the out-of-the-box login view can be extended (e.g. to provide the functionality described in the example above).

I think it would be good to say something in the latter section about how one can go about extending or customizing views like the login view, or alternatively, saying that one must copy-and-paste (or fork) to customize it if extending isn't possible. The "Setting test cookies" section can then link to this new section. I think it's natural to add a section like this, especially because it's a natural question to ask after reading the example test-cookie code.

Change History (2)

comment:1 by Chris Jerdonek, 11 years ago

Cc: chris.jerdonek@… added

comment:2 by Tim Graham, 11 years ago

Resolution: duplicate
Status: newclosed

I think this could be rolled into #21292, I've made a note of this ticket there.

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