from .views import *
from django.urls import path


urlpatterns = [
    path('', base_page, name='base_url'),
    path('sign-in/', signin, name='sign_in_url'),
    path('register/', RegisterFormView.as_view(), name='register_url'),
    path('login/', LoginFormView.as_view(), name='login_url'),
    path('logout/', LogoutView.as_view(), name='logout_url'),
    path('profile/<str:username>/', profile, name='profile_url'),
    path('profile/change-avatar/<str:pk>/', UserChangeView.as_view(), name='avatar_update_url')
]
