Changes between Initial Version and Version 6 of Ticket #8325


Ignore:
Timestamp:
11/06/2010 07:19:51 PM (4 years ago)
Author:
gabrielhurley
Comment:

In response to the anonymous re-opener: you are misunderstanding the purpose here. Let me explain:

The login view is designed to be as customizable as possible. When the default values are left alone, everything works as it should: the standard login template is used, and the template is passed a context variable called "next" with the value of redirect_to.

When you start customizing things, redirect_field_name and redirect_to form the key and value (respectively) that get passed to the context. It's only useless if you forget to customize the template as well so that it knows to use your customized redirect_field_name instead of the default "next".

However, after some of the recent changes to that doc, I will agree that it needs just a few minor tweaks to be clearer on these points. I will fix it presently.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8325

    • Property Status changed from new to reopened
    • Property Patch needs improvement unset
    • Property Needs tests unset
    • Property Milestone changed from 1.0 beta to
    • Property Needs documentation unset
    • Property Triage Stage changed from Unreviewed to Accepted
  • Ticket #8325 – Description

    initial v6  
    1 
    21http://www.djangoproject.com/documentation/authentication/
    32
Back to Top