First Commit
This commit is contained in:
commit
ce0758fbbb
496 changed files with 52062 additions and 0 deletions
22
users/urls.py
Executable file
22
users/urls.py
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
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'),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue