Changes between Initial Version and Version 4 of Ticket #6581
- Timestamp:
- Jun 23, 2008, 12:49:47 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6581
- Property Has patch set
- Property Keywords redirect_to_login added
- Property Triage Stage Unreviewed → Design decision needed
-
Ticket #6581 – Description
initial v4 1 1 The 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: 2 2 3 {{{ 3 4 (r'^$', 'django.contrib.auth.views.redirect_to_login', {'next': '/something'})... 5 }}} 4 6 5 7 then I get an error that 'next' is provided twice since the first arg supplied to the view