1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-07-07 08:24:00 +02:00

Upload photo authorizations

This commit is contained in:
Yohann D'ANELLO
2020-09-24 22:40:10 +02:00
parent e1ca18085a
commit 468295f648
11 changed files with 148 additions and 36 deletions

View File

@ -1,7 +1,7 @@
from django.urls import path
from .views import MyAccountDetailView, SignupView, UserDetailView, UserResendValidationEmailView, UserUpdateView,\
UserValidateView, UserValidationEmailSentView
from .views import MyAccountDetailView, SignupView, UserDetailView, UserResendValidationEmailView,\
UserUpdateView, UserUploadPhotoAuthorizationView, UserValidateView, UserValidationEmailSentView
app_name = "registration"
@ -14,4 +14,6 @@ urlpatterns = [
path("user/", MyAccountDetailView.as_view(), name="my_account_detail"),
path("user/<int:pk>/", UserDetailView.as_view(), name="user_detail"),
path("user/<int:pk>/update/", UserUpdateView.as_view(), name="update_user"),
path("user/<int:pk>/upload-photo-authorization/", UserUploadPhotoAuthorizationView.as_view(),
name="upload_user_photo_authorization"),
]