from django.contrib.auth.forms import AuthenticationForm
from django.urls import path
from . import views
from django.contrib.auth import views as auth_views
from .forms import ExtendedAuthenticationForm
urlpatterns = [
    path('register/', views.register, name='register'),
    path('profile/', views.profile, name='profile'),
    path('login/',auth_views.LoginView.as_view(template_name='user_profile/login.html',authentication_form=ExtendedAuthenticationForm)),
    path('logout/',auth_views.LogoutView.as_view()),
]
