from django.urls import path
from . import views
from django.contrib.auth.views import LoginView , LogoutView
from django.conf.urls.static import static
from django.conf import settings

urlpatterns = [
    path('register/' , views.register , name='register'),
    path('login/' , views.login_user , name='login'),
    path('logout/' , views.logout_user , name='logout'),
    path('profile/' , views.profile , name='profile'),
    path('profile_update/' , views.profile_update , name='profile_update'),
] + static(settings.MEDIA_URL , document_root=settings.MEDIA_ROOT)