from django.contrib.auth import views as auth_view
from django.urls import path

from accounts import views

urlpatterns = [
    path('login/', auth_view.LoginView.as_view(template_name='accounts/login.html'), name = 'login'),
    path('logout/', auth_view.LogoutView.as_view(template_name='accounts/logout.html'), name = 'logout'),
    path('register/', views.register, name = 'register'),
]