mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 23:43:22 +00:00
36 lines
1.7 KiB
Python
36 lines
1.7 KiB
Python
from django.urls import path, re_path
|
|
|
|
from . import views
|
|
from Subscriptions.views import RegisterFileTemplateView, RegisterFormListView, RegisterFormView, StudentView, GuardianView, ChildrenListView, StudentListView, RegisterFeeView
|
|
|
|
urlpatterns = [
|
|
re_path(r'^registerForms/([a-zA-z]+)$', RegisterFormListView.as_view(), name="listefichesInscriptions"),
|
|
re_path(r'^registerForm$', RegisterFormView.as_view(), name="registerForms"),
|
|
re_path(r'^registerForm/([0-9]+)$', RegisterFormView.as_view(), name="registerForms"),
|
|
|
|
# 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'^fetchLastGuardian$', GuardianView.as_view(), name="fetchLastGuardian"),
|
|
|
|
# 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="relance"),
|
|
|
|
# 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'^registerFees$', RegisterFeeView.as_view(), name="registerFees"),
|
|
re_path(r'^registerFilesTemplates$', RegisterFileTemplateView.as_view(), name='registerFilesTemplates'),
|
|
re_path(r'^registerFilesTemplates/([0-9]+)$', RegisterFileTemplateView.as_view(), name="registerFilesTemplates"),
|
|
] |