that's doesn't work for some reason
суббота, 20 сентября 2014 г., 2:42:57 UTC+3 пользователь Collin Anderson
написал:
>
> from django.contrib.auth.views import logout
>
> urlpatterns = [
> url('^/accounts/logout/', logout, {'next_page': '/'}),
> ]
>
>
--
You received this message because yo
or send them to /accounts/logout/?next=/another/page/
--
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
from django.contrib.auth.views import logout
urlpatterns = [
url('^/accounts/logout/', logout, {'next_page': '/'}),
]
--
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
I want to redirect user after logout to another page, not account/logout.
Hoe can I do this?
I've red documentation, but can't understand where to find next_page
variable
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this
4 matches
Mail list logo