2017-10-24 08:50:57 -04:00
|
|
|
from django.contrib.auth import views as auth_views
|
2017-10-24 09:25:41 -04:00
|
|
|
from lemoncurry import breadcrumbs
|
|
|
|
|
|
|
|
breadcrumbs.add(route='lemonauth:login', label='login', parent='home:index')
|
2017-10-24 08:50:57 -04:00
|
|
|
|
|
|
|
login = auth_views.LoginView.as_view(
|
|
|
|
template_name='lemonauth/login.html',
|
|
|
|
redirect_authenticated_user=True,
|
|
|
|
)
|
|
|
|
logout = auth_views.LogoutView.as_view()
|