Re: Can not understand how to change auth.templates

2014-09-20 Thread Артём Мутерко
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

Re: Can not understand how to change auth.templates

2014-09-19 Thread Collin Anderson
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

Re: Can not understand how to change auth.templates

2014-09-19 Thread Collin Anderson
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

Can not understand how to change auth.templates

2014-09-19 Thread Артём Мутерко
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