passion_retro/users/urls.py
2025-09-12 11:11:44 +02:00

22 lines
No EOL
1,014 B
Python
Executable file

from django.urls import path
from django.conf.urls.static import static
from django.contrib.auth import views as auth_views
from passion_retro import settings
from . import views
urlpatterns = [
path('activate/<uidb64>/<token>/', views.activate, name='activate'),
path("login/", views.login, name="login"),
path("register/", views.register, name="register"),
path("profile/", views.profile, name="profile"),
path("profile/update/", views.profile_update, name="profile_update"),
path("profile/contributions/", views.contributions, name="contributions"),
path("profile/<str:user_id>/", views.another_profile, name="profile"),
path("contribute/", views.contribute, name="contribute"),
path("contribute/<str:type>/", views.form_contribute, name="form_contribute"),
path("new/feature", views.new_feature_user, name="new_feature_user"),
path("item/use/<int:item_id>/", views.use_item, name="use_item"),
path('logout/', auth_views.LogoutView.as_view(), name='logout'),
]