newsreader/src/newsreader/accounts/views/auth.py
Sonny Bakker d4a41a62da 0.3.0
- Add Twitter integration
- Refactor alot of existing code in collection app
- Update webpack font configuration
2020-09-27 16:19:32 +02:00

11 lines
314 B
Python

from django.contrib.auth import views as django_views
from django.urls import reverse_lazy
class LoginView(django_views.LoginView):
template_name = "accounts/views/login.html"
success_url = reverse_lazy("index")
class LogoutView(django_views.LogoutView):
next_page = reverse_lazy("accounts:login")