id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 10864 "Clarify that ""next"" is the default for redirect_to_field" trigeek38 nobody "Section described: http://docs.djangoproject.com/en/dev/topics/auth/#the-login-required-decorator. The use of the 'next' and 'redirect_to_field' is not clear. I think this section deserves a little more description of how to use the decorator correctly. Current: ""If the user isn't logged in, redirect to settings.LOGIN_URL (/accounts/login/ by default), passing the current absolute URL in the query string as next or the value of redirect_field_name. For example: /accounts/login/?next=/polls/3/."" Addition: ""You can pass this value to the login form to complete the request after successful login. See views.login() below for an example. " closed Documentation dev fixed next, login_decorator Ready for checkin 1 0 0 0 0 0