2017-09-16 02:33:40 +02:00
|
|
|
from django.core.urlresolvers import reverse_lazy
|
|
|
|
from django.views.generic import RedirectView
|
2017-08-03 12:40:52 +02:00
|
|
|
|
|
|
|
|
2017-09-16 02:33:40 +02:00
|
|
|
class CaptureLogin(RedirectView):
|
|
|
|
url = reverse_lazy('account_login')
|
|
|
|
query_string = True
|
2017-08-03 12:40:52 +02:00
|
|
|
|
|
|
|
|
2017-09-16 02:33:40 +02:00
|
|
|
capture_login = CaptureLogin.as_view()
|
|
|
|
|
|
|
|
|
|
|
|
class CaptureLogout(RedirectView):
|
|
|
|
url = reverse_lazy('account_logout')
|
|
|
|
query_string = True
|
|
|
|
|
|
|
|
|
|
|
|
capture_logout = CaptureLogout.as_view()
|