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:
@ -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(),
|
||||
|
Reference in New Issue
Block a user