mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-21 01:58:23 +02:00
Add protected pages to view authorizations
This commit is contained in:
@ -21,7 +21,7 @@ from django.contrib import admin
|
||||
from django.urls import include, path
|
||||
from django.views.defaults import bad_request, page_not_found, permission_denied, server_error
|
||||
from django.views.generic import TemplateView
|
||||
from registration.views import PhotoAuthorizationView
|
||||
from registration.views import HealthSheetView, ParentalAuthorizationView, PhotoAuthorizationView
|
||||
|
||||
from .views import AdminSearchView
|
||||
|
||||
@ -38,7 +38,12 @@ urlpatterns = [
|
||||
path('participation/', include('participation.urls')),
|
||||
path('registration/', include('registration.urls')),
|
||||
|
||||
path('media/authorization/photo/<str:filename>/', PhotoAuthorizationView.as_view(), name='photo_authorization'),
|
||||
path('media/authorization/photo/<str:filename>/', PhotoAuthorizationView.as_view(),
|
||||
name='photo_authorization'),
|
||||
path('media/authorization/health/<str:filename>/', HealthSheetView.as_view(),
|
||||
name='health_sheet'),
|
||||
path('media/authorization/parental/<str:filename>/', ParentalAuthorizationView.as_view(),
|
||||
name='parental_authorization'),
|
||||
|
||||
path('', include('eastereggs.urls')),
|
||||
]
|
||||
|
Reference in New Issue
Block a user