1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-04 03:32:10 +02:00

Generate authorization templates as PDF

This commit is contained in:
Yohann D'ANELLO
2021-01-21 21:44:43 +01:00
parent 35042f077f
commit ae520f791c
10 changed files with 249 additions and 147 deletions

View File

@ -3,9 +3,10 @@
from django.urls import path
from .views import AddOrganizerView, MyAccountDetailView, PaymentUpdateView, ResetAdminView, SignupView, \
UserDetailView, UserImpersonateView, UserListView, UserResendValidationEmailView, UserUpdateView, \
UserUploadHealthSheetView, UserUploadParentalAuthorizationView, UserUploadPhotoAuthorizationView, \
from .views import AddOrganizerView, AdultPhotoAuthorizationTemplateView, ChildPhotoAuthorizationTemplateView,\
InstructionsTemplateView, MyAccountDetailView, PaymentUpdateView, ParentalAuthorizationTemplateView, \
ResetAdminView, SignupView, UserDetailView, UserImpersonateView, UserListView, UserResendValidationEmailView, \
UserUpdateView, UserUploadHealthSheetView, UserUploadParentalAuthorizationView, UserUploadPhotoAuthorizationView, \
UserValidateView, UserValidationEmailSentView
app_name = "registration"
@ -22,6 +23,13 @@ urlpatterns = [
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"),
path("parental-authorization-template/", ParentalAuthorizationTemplateView.as_view(),
name="parental_authorization_template"),
path("photo-authorization-template/adult/", AdultPhotoAuthorizationTemplateView.as_view(),
name="photo_authorization_adult_template"),
path("photo-authorization-template/child/", ChildPhotoAuthorizationTemplateView.as_view(),
name="photo_authorization_child_template"),
path("instructions-template/", InstructionsTemplateView.as_view(), name="instructions_template"),
path("user/<int:pk>/upload-health_sheet/", UserUploadHealthSheetView.as_view(),
name="upload_user_health_sheet"),
path("user/<int:pk>/upload-parental-authorization/", UserUploadParentalAuthorizationView.as_view(),