In fact, there is an accepted ticket which suggests the same: 
https://code.djangoproject.com/ticket/12405

Feel free to try your hand at a patch if you like!

On Thursday, August 20, 2015 at 4:41:05 PM UTC-4, Robert Roskam wrote:
>
> Basically, the same feature set as here: 
> https://docs.djangoproject.com/en/1.8/ref/settings/#login-redirect-url
>
> Modified it below:
>
> Default: '/accounts/logout'
>
> The URL where requests are redirected after login when the 
> contrib.auth.logout view gets no next parameter.
>
> This setting also accepts view function names and named URL patterns 
> <https://docs.djangoproject.com/en/1.8/topics/http/urls/#naming-url-patterns> 
> which 
> can be used to reduce configuration duplication since you don’t have to 
> define the URL in two places (settings and URLconf).
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5f6ab8cf-33ad-4400-91b4-fc678386e3d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to