Skip to content
Snippets Groups Projects
urls.py 518 B
Newer Older
Quentin VERMANDE's avatar
Quentin VERMANDE committed
from django.urls import include, path

Dorian Lesbre's avatar
Dorian Lesbre committed
from accounts import views
Quentin VERMANDE's avatar
Quentin VERMANDE committed

app_name = "accounts"
Quentin VERMANDE's avatar
Quentin VERMANDE committed

urlpatterns = [
Dorian Lesbre's avatar
Dorian Lesbre committed
	path("login/", views.LoginView.as_view(), name="login"),
	path("logout/", views.LogoutView.as_view(), name="logout"),
	path("profile/", views.ProfileView.as_view(), name="profile"),
	path("create/", views.CreateAccountView.as_view(), name="create"),
	path("update/", views.UpdateAccountView.as_view(), name="update"),
Dorian Lesbre's avatar
Dorian Lesbre committed
	path('activate/<uidb64>/<token>/', views.ActivateAccountView.as_view(), name='activate'),
Quentin VERMANDE's avatar
Quentin VERMANDE committed
]