Changes between Initial Version and Version 4 of Ticket #6581


Ignore:
Timestamp:
Jun 23, 2008, 12:49:47 PM (16 years ago)
Author:
Ramiro Morales
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6581

    • Property Has patch set
    • Property Keywords redirect_to_login added
    • Property Triage Stage UnreviewedDesign decision needed
  • Ticket #6581 – Description

    initial v4  
    11The documentation lists redirect_to_login as a view alongside password_change etc but the definition doesn't take a 'request' first argument and so doesn't work properly as a view. Eg. if I use it in urls.py:
    22
     3{{{
    34 (r'^$', 'django.contrib.auth.views.redirect_to_login', {'next': '/something'})...
     5}}}
    46
    57then I get an error that 'next' is provided twice since the first arg supplied to the view
Back to Top