#20447: next_page parameter in logout function does not recognize named urls
------------------------------+--------------------
     Reporter:  caumons       |      Owner:  nobody
         Type:  Bug           |     Status:  new
    Component:  contrib.auth  |    Version:  1.5
     Severity:  Normal        |   Keywords:
 Triage Stage:  Unreviewed    |  Has patch:  0
Easy pickings:  0             |      UI/UX:  0
------------------------------+--------------------
 When using logout function:

 {{{
 logout(request[, next_page, template_name, redirect_field_name])
 }}}

 next_page parameter does not recognize named urls, it appends the name at
 the end of the current URL. E.g. if your "/" URL is named "home", then
 using "home" as the next_page will result in the URL /logout/home

 If this won't be fixed, at least mention it in the docs. Thanks!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20447>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to