from django.urls import path, re_path from . import views from Subscriptions.views import RegistrationFileTemplateView, RegisterFormListView, RegisterFormView, StudentView, GuardianView, ChildrenListView, StudentListView, RegistrationFeeView urlpatterns = [ re_path(r'^registerForms/([a-zA-z]+)$', RegisterFormListView.as_view(), name="registerForms"), re_path(r'^registerForm$', RegisterFormView.as_view(), name="registerForm"), re_path(r'^registerForm/([0-9]+)$', RegisterFormView.as_view(), name="registerForm"), # Page de formulaire d'inscription - ELEVE re_path(r'^student/([0-9]+)$', StudentView.as_view(), name="students"), # Page de formulaire d'inscription - RESPONSABLE re_path(r'^lastGuardian$', GuardianView.as_view(), name="lastGuardian"), # Envoi d'un dossier d'inscription re_path(r'^send/([0-9]+)$', views.send, name="send"), # Archivage d'un dossier d'inscription re_path(r'^archive/([0-9]+)$', views.archive, name="archive"), # Envoi d'une relance de dossier d'inscription re_path(r'^sendRelance/([0-9]+)$', views.relance, name="sendRelance"), # Page PARENT - Liste des children re_path(r'^children/([0-9]+)$', ChildrenListView.as_view(), name="children"), # Page INSCRIPTION - Liste des élèves re_path(r'^students$', StudentListView.as_view(), name="students"), # Frais d'inscription re_path(r'^registrationFees$', RegistrationFeeView.as_view(), name="registrationFees"), re_path(r'^registrationFileTemplates$', RegistrationFileTemplateView.as_view(), name='registrationFileTemplates'), re_path(r'^registrationFileTemplates/([0-9]+)$', RegistrationFileTemplateView.as_view(), name="registrationFileTemplate"), ]