from django.urls import path
from .views import LoginView, LogoutView
from django.views.decorators.csrf import csrf_protect

urlpatterns = [
    path('', csrf_protect(LoginView.as_view()), name='login'),
    # path('login', csrf_protect(LoginView.as_view()), name='login'),
    path('logout', csrf_protect(LogoutView.as_view()), name='logout'),
]