Opened 13 years ago

Closed 13 years ago

#15885 closed New feature (fixed)

Update the docs to explain that auth views now return TemplateResponse

Reported by: Preston Timmons Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: mathieu.agopian@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Changeset r16087 modified the auth views to return a TemplateResponse rather than an HttpResponse.

Document the change in the Authentication topic page.

Attachments (3)

auth_changes.diff (724 bytes ) - added by Preston Timmons 13 years ago.
auth_views_template_response_doc.diff (711 bytes ) - added by Mathieu Agopian <mathieu.agopian@…> 13 years ago.
auth_views_template_response_doc.2.diff (712 bytes ) - added by Mathieu Agopian <mathieu.agopian@…> 13 years ago.
wording

Download all attachments as: .zip

Change History (9)

by Preston Timmons, 13 years ago

Attachment: auth_changes.diff added

comment:1 by Mathieu Agopian <mathieu.agopian@…>, 13 years ago

Patch needs improvement: set
Triage Stage: UnreviewedAccepted

Hello prestontimmons,

i would personally put this added information, in the documentation, a few lines above (starting line 864, just at the end of the views.login explanation).
What do you think? I feel the way it is now, it's a bit like an afterthought : "oh, btw, the previous view and those coming after now return a TemplateResponse"

comment:2 by Mathieu Agopian <mathieu.agopian@…>, 13 years ago

Patch needs improvement: unset

Here's my attempt at a "better" documentation, please let me know if that fits what you where expecting prestontimmons.

by Mathieu Agopian <mathieu.agopian@…>, 13 years ago

by Mathieu Agopian <mathieu.agopian@…>, 13 years ago

wording

comment:3 by Mathieu Agopian <mathieu.agopian@…>, 13 years ago

Thanks FunkyBob on the freenode #django channel for correcting my poor english wording ;)

comment:4 by Mathieu Agopian, 13 years ago

Cc: mathieu.agopian@… added

comment:5 by Jannis Leidel, 13 years ago

Triage Stage: AcceptedReady for checkin

comment:6 by Simon Meers, 13 years ago

Resolution: fixed
Status: newclosed

In [16111]:

Fixed #15885 -- Update auth view docs re: TemplateResponse. Thanks prestontimmons.

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