from django.conf.urls import url
from mainapp import views
from qr_code import urls as qr_code_urls
from django.urls import path

app_name = 'mainapp'

urlpatterns = [
url(r'^telecharger-fichier-notes-excel/$',views.telecharger_fichier_notes_excel,name='telecharger_fichier_notes_excel'),
url('saisie-notes/', views.saisie_notes, name="saisie_notes"),
url('ajouter-sous-note/', views.ajouter_sous_note, name="ajouter_sous_note"),
url('definition-divisionstemps/', views.definition_divisionstemps, name="definition_divisionstemps"),
url(r'^etats-paiements-eleves/$',views.etats_paiements_eleves,name='etats_paiements_eleves'),
url(r'^liste-eleve-pdf/$',views.liste_eleve_pdf,name='liste_eleve_pdf'),
url('dashboard/', views.dashboard, name="dashboard"),
url(r'^groupe-permission-modification/(?P<id>\d+)$', views.groupe_permission_modification, name='groupe_permission_modification'),
url(r'^login/$', views.login_user, name='login'),
url(r'^logout/$', views.logout_user, name='logout_user'),
url(r'^verrouiller/$', views.verrouiller, name='verrouiller'),
url(r'^deverrouiller/$', views.deverrouiller, name='deverrouiller'),

url('matformat/', views.matriculeformat, name="matformat"),
url(r'^paiement-eleve/$', views.paiement_eleve, name="paiement_eleve"),
url('changement-classe-eleve/', views.changement_classe_eleve, name="changement_classe_eleve"),
url('attribution-bourse-eleve/', views.attribution_bourse_eleve, name="attribution_bourse_eleve"),
url('prendre-photos-eleve/', views.prendre_photos_eleve, name="prendre_photos_eleve"),


url(r'mlab/$', views.mlab, name="mlab"),
url('initialisation-charger-fichier/', views.initialisation_charger_fichier, name="initialisation_charger_fichier"),
url('initialisation-fin/', views.initialisation_fin, name="initialisation_fin"),
url('emploi-de-temps/', views.emploi_de_temps, name="emploi_de_temps"),


url(r'liste-profils/(?P<page>\d+)$', views.liste_profils, name="liste_profils"),
url(r'liste-profils/$', views.liste_profils, name="liste_profils"),
url(r'^liste-etudiants/(?P<page>\d+)$', views.liste_etudiants, name='liste_etudiants'),
url('liste-etudiants/', views.liste_etudiants, name="liste_etudiants"),
url('liste-groupes/', views.liste_groupes, name="liste_groupes"),

url('definition_tranches_horaires/', views.definition_tranches_horaires, name="definition_tranches_horaires"),
url('jours-ouvrables/', views.jours_ouvrables, name="jours_ouvrables"),
url('periodes-saisie-actives/', views.periodes_saisie_actives, name="periodes_saisie_actives"),
url('load-specialites-ajax/', views.load_specialites_ajax, name="load_specialites_ajax"),
url('liste-etablissements/', views.liste_etablissements, name="liste_etablissements"),
url('liste-sous-etablissements/', views.liste_sous_etablissements, name="liste_sous_etablissements"),
url('liste-cycles/', views.liste_cycles, name="liste_cycles"),
url('liste-cours/', views.liste_cours, name="liste_cours"),
url('liste-progressions/', views.liste_progressions, name="liste_progressions"),
url('liste-reunions/', views.liste_reunions, name="liste_reunions"),
url('liste-niveaux/', views.liste_niveaux, name="liste_niveaux"),
url('liste-classes/', views.liste_classes, name="liste_classes"),
url('liste-specialites/', views.liste_specialites, name="liste_specialites"),
url('liste-classe-specialites/', views.liste_classe_specialites, name="liste_classe_specialites"),
url('liste-matieres/', views.liste_matieres, name="liste_matieres"),
url('liste-appellation-apprenant-formateur/', views.liste_appellation_apprenant_formateur, name="liste_appellation_apprenant_formateur"),
url('liste-type-apprenants/', views.liste_type_apprenants, name="liste_type_apprenants"),
url('liste-disciplines/', views.liste_disciplines, name="liste_disciplines"),
url('liste-condition-renvois/', views.liste_condition_renvois, name="liste_condition_renvois"),
url('liste-condition-succes/', views.liste_condition_succes, name="liste_condition_succes"),

url('liste-types-paiements-eleve/', views.liste_types_paiements_eleve, name="liste_types_paiements_eleve"),
url('liste-types-paiements-pers-enseignant/', views.liste_types_paiements_pers_enseignant, name="liste_types_paiements_pers_enseignant"),
url('liste-types-paiements-pers-administratif/', views.liste_types_paiements_pers_administratif, name="liste_types_paiements_pers_administratif"),
url('liste-types-paiements-pers-appui/', views.liste_types_paiements_pers_appui, name="liste_types_paiements_pers_appui"),
url('liste-types-paiements-divers.html/', views.liste_types_paiements_divers, name="liste_types_paiements_divers"),
url('liste-types-paiements-cantine.html/', views.liste_types_paiements_cantine, name="liste_types_paiements_cantine"),
url('liste-types-paiements-transport.html/', views.liste_types_paiements_transport, name="liste_types_paiements_transport"),
url('liste-types-paiements-dortoir.html/', views.liste_types_paiements_dortoir, name="liste_types_paiements_dortoir"),
url('liste-types-paiements-facture.html/', views.liste_types_paiements_facture, name="liste_types_paiements_facture"),

url('liste-divisionstemps/', views.liste_divisionstemps, name="liste_divisionstemps"),
url('liste-eleves/', views.liste_eleves, name="liste_eleves"),
url('liste-boursiers/', views.liste_boursiers, name="liste_boursiers"),


url('parametres-progression/', views.parametres_progression, name="parametres_progression"),
url('parametres-cours/', views.parametres_cours, name="parametres_cours"),
url('parametres-reunion/', views.parametres_reunion, name="parametres_reunion"),

url(r'^recherche-jours-ouvrables/$', views.recherche_jours_ouvrables, name='recherche_jours_ouvrables'),
url(r'^recherche-etablissement/$', views.recherche_etablissement, name='recherche_etablissement'),
url(r'^recherche-etudiant/$', views.recherche_etudiant, name='recherche_etudiant'),
url(r'^recherche-profil/$', views.recherche_profil, name='recherche_profil'),
url(r'^recherche-cycle/$', views.recherche_cycle, name='recherche_cycle'),
url(r'^recherche-sous-etablissement/$', views.recherche_sous_etablissement, name='recherche_sous_etablissement'),
url(r'^recherche-niveau/$', views.recherche_niveau, name='recherche_niveau'),
url(r'^recherche-classe/$', views.recherche_classe, name='recherche_classe'),
url(r'^recherche-specialite/$', views.recherche_specialite, name='recherche_specialite'),
url(r'^recherche-classe-specialite/$', views.recherche_classe_specialite, name='recherche_classe_specialite'),
url(r'^recherche-sousetab/$', views.recherche_sousetab, name='recherche_sousetab'),
url(r'^recherche-matiere/$', views.recherche_matiere, name='recherche_matiere'),
url(r'^recherche-cours/$', views.recherche_cours, name='recherche_cours'),
url(r'^recherche-appellation-apprenant-formateur/$', views.recherche_appellation_apprenant_formateur, name='recherche_appellation_apprenant_formateur'),
url(r'^recherche-type-apprenant/$', views.recherche_type_apprenant, name='recherche_type_apprenant'),
url(r'^recherche-discipline/$', views.recherche_discipline, name='recherche_discipline'),
url(r'^recherche-condition-renvoi/$', views.recherche_condition_renvoi, name='recherche_condition_renvoi'),
url(r'^recherche-condition-succes/$', views.recherche_condition_succes, name='recherche_condition_succes'),
url(r'^recherche-type-paiement-eleve/$', views.recherche_type_paiement_eleve, name='recherche_type_paiement_eleve'),
url(r'^recherche-type-paiement-pers-administratif/$', views.recherche_type_paiement_pers_administratif, name='recherche_type_paiement_pers_administratif'),
url(r'^recherche-type-paiement-pers-enseignant/$', views.recherche_type_paiement_pers_enseignant, name='recherche_type_paiement_pers_enseignant'),
url(r'^recherche-type-paiement-pers-appui/$', views.recherche_type_paiement_pers_appui, name='recherche_type_paiement_pers_appui'),
url(r'^recherche-type-paiement-divers/$', views.recherche_type_paiement_divers, name='recherche_type_paiement_divers'),
url(r'^recherche-type-paiement-cantine/$', views.recherche_type_paiement_cantine, name='recherche_type_paiement_cantine'),
url(r'^recherche-type-paiement-transport/$', views.recherche_type_paiement_transport, name='recherche_type_paiement_transport'),
url(r'^recherche-type-paiement-dortoir/$', views.recherche_type_paiement_dortoir, name='recherche_type_paiement_dortoir'),
url(r'^recherche-type-paiement-facture/$', views.recherche_type_paiement_facture, name='recherche_type_paiement_facture'),
url(r'^recherche-eleve/$', views.recherche_eleve, name='recherche_eleve'),
url(r'^recherche-boursier/$', views.recherche_boursier, name='recherche_boursier'),
# url(r'^recherche-periodes-saisie-actives/$', views.recherche_periodes_saisie_actives, name='recherche_periodes_saisie_actives'),
url(r'^recherche-eleve3/$', views.recherche_eleve3, name='recherche_eleve3'),
url(r'^recherche-eleve33/$', views.recherche_eleve33, name='recherche_eleve33'),

url(r'^recherche-eleves-salle-de-classe/$', views.recherche_eleves_salle_de_classe, name='recherche_eleves_salle_de_classe'),

url('creation-etablissement/', views.creation_etablissement, name="creation_etablissement"),
url('creation-sous-etablissement/', views.creation_sous_etablissement, name="creation_sous_etablissement"),
url('creation-etudiant/', views.creation_etudiant, name="creation_etudiant"),
url('creation-profil/', views.creation_profil, name="creation_profil"),
url('creation-cycle/', views.creation_cycle, name="creation_cycle"),
url('creation-niveau/', views.creation_niveau, name="creation_niveau"),
url('creation-classe/', views.creation_classe, name="creation_classe"),
url('creation-specialite/', views.creation_specialite, name="creation_specialite"),
url('creation-matiere/', views.creation_matiere, name="creation_matiere"),
url('creation-appellation-apprenant-formateur/', views.creation_appellation_apprenant_formateur, name="creation_appellation_apprenant_formateur"),
url('creation-type-apprenant/', views.creation_type_apprenant, name="creation_type_apprenant"),
url('creation-discipline/', views.creation_discipline, name="creation_discipline"),
url('creation-condition-renvoi/', views.creation_condition_renvoi, name="creation_condition_renvoi"),
url('creation-condition-succes/', views.creation_condition_succes, name="creation_condition_succes"),
url('creation-type-paiement-eleve/', views.creation_type_paiement_eleve, name="creation_type_paiement_eleve"),
url('creation-type-paiement-pers-administratif/', views.creation_type_paiement_pers_administratif, name="creation_type_paiement_pers_administratif"),
url('creation-type-paiement-pers-enseignant/', views.creation_type_paiement_pers_enseignant, name="creation_type_paiement_pers_enseignant"),
url('creation-type-paiement-pers-appui/', views.creation_type_paiement_pers_appui, name="creation_type_paiement_pers_appui"),
url('creation-type-paiement-divers/', views.creation_type_paiement_divers, name="creation_type_paiement_divers"),
url('creation-type-paiement-cantine/', views.creation_type_paiement_cantine, name="creation_type_paiement_cantine"),
url('creation-type-paiement-transport/', views.creation_type_paiement_transport, name="creation_type_paiement_transport"),
url('creation-type-paiement-dortoir/', views.creation_type_paiement_dortoir, name="creation_type_paiement_dortoir"),
url('creation-type-paiement-facture/', views.creation_type_paiement_facture, name="creation_type_paiement_facture"),
url('creation-cours/', views.creation_cours, name="creation_cours"),
url('creation-eleve/', views.creation_eleve, name="creation_eleve"),
url('creation-boursier/', views.creation_boursier, name="creation_boursier"),

url(r'^suppression-etablissement/$', views.suppression_etablissement, name='suppression_etablissement'),
url(r'^suppression-sous-etablissement/$', views.suppression_sous_etablissement, name='suppression_sous_etablissement'),
url(r'^suppression-etudiant/$', views.suppression_etudiant, name='suppression_etudiant'),
url(r'^suppression-profil/$', views.suppression_profil, name='suppression_profil'),
url(r'^suppression-cycle/$', views.suppression_cycle, name='suppression_cycle'),
url(r'^suppression-niveau/$', views.suppression_niveau, name='suppression_niveau'),
url(r'^suppression-classe/$', views.suppression_classe, name='suppression_classe'),
url(r'^suppression-specialite/$', views.suppression_specialite, name='suppression_specialite'),
url(r'^suppression-classe-specialite/$', views.suppression_classe_specialite, name='suppression_classe_specialite'),
url(r'^suppression-matiere/$', views.suppression_matiere, name='suppression_matiere'),
url(r'^suppression-appellation-apprenant-formateur/$', views.suppression_appellation_apprenant_formateur, name='suppression_appellation_apprenant_formateur'),
url(r'^suppression-type-apprenant/$', views.suppression_type_apprenant, name='suppression_type_apprenant'),
url(r'^suppression-discipline/$', views.suppression_discipline, name='suppression_discipline'),
url(r'^suppression-condition-renvoi/$', views.suppression_condition_renvoi, name='suppression_condition_renvoi'),
url(r'^suppression-condition-succes/$', views.suppression_condition_succes, name='suppression_condition_succes'),
url(r'^suppression-type-paiement-eleve/$', views.suppression_type_paiement_eleve, name='suppression_type_paiement_eleve'),
url(r'^suppression-type-paiement-pers-administratif/$', views.suppression_type_paiement_pers_administratif, name='suppression_type_paiement_pers_administratif'),
url(r'^suppression-type-paiement-pers-enseignant/$', views.suppression_type_paiement_pers_enseignant, name='suppression_type_paiement_pers_enseignant'),
url(r'^suppression-type-paiement-pers-appui/$', views.suppression_type_paiement_pers_appui, name='suppression_type_paiement_pers_appui'),
url(r'^suppression-type-paiement-divers/$', views.suppression_type_paiement_divers, name='suppression_type_paiement_divers'),
url(r'^suppression-type-paiement-cantine/$', views.suppression_type_paiement_cantine, name='suppression_type_paiement_cantine'),
url(r'^suppression-type-paiement-transport/$', views.suppression_type_paiement_transport, name='suppression_type_paiement_transport'),
url(r'^suppression-type-paiement-dortoir/$', views.suppression_type_paiement_dortoir, name='suppression_type_paiement_dortoir'),
url(r'^suppression-type-paiement-facture/$', views.suppression_type_paiement_facture, name='suppression_type_paiement_facture'),
url(r'^suppression-eleve/$', views.suppression_eleve, name='suppression_eleve'),
url(r'^suppression-boursier/$', views.suppression_boursier, name='suppression_boursier'),

url(r'^modification-definition-tranche-horaire/$', views.modification_def_tranche_horaire, name='modification_def_tranche_horaire'),
url(r'^modification-sous-etablissement/$', views.modification_sous_etablissement, name='modification_sous_etablissement'),
url(r'^modification-etablissement/$', views.modification_etablissement, name='modification_etablissement'),
url(r'^modification-etudiant/$', views.modification_etudiant, name='modification_etudiant'),
url(r'^modification-cycle/$', views.modification_cycle, name='modification_cycle'),
url(r'^modification-niveau/$', views.modification_niveau, name='modification_niveau'),
url(r'^modification-classe/$', views.modification_classe, name='modification_classe'),
url(r'^modification-specialite/$', views.modification_specialite, name='modification_specialite'),
url(r'^modification-classe-specialite/$', views.modification_classe_specialite, name='modification_classe_specialite'),
url(r'^modification-matiere/$', views.modification_matiere, name='modification_matiere'),
url(r'^modification-appellation-apprenant-formateur/$', views.modification_appellation_apprenant_formateur, name='modification_appellation_apprenant_formateur'),
url(r'^modification-type_apprenant/$', views.modification_type_apprenant, name='modification_type_apprenant'),
url(r'^modification-discipline/$', views.modification_discipline, name='modification_discipline'),
url(r'^modification-condition-renvoi/$', views.modification_condition_renvoi, name='modification_condition_renvoi'),
url(r'^modification-condition-succes/$', views.modification_condition_succes, name='modification_condition_succes'),
url(r'^modification-type-paiement-eleve/$', views.modification_type_paiement_eleve, name='modification_type_paiement_eleve'),
url(r'^modification-type-paiement-pers-administratif/$', views.modification_type_paiement_pers_administratif, name='modification_type_paiement_pers_administratif'),
url(r'^modification-type-paiement-pers-enseignant/$', views.modification_type_paiement_pers_enseignant, name='modification_type_paiement_pers_enseignant'),
url(r'^modification-type-paiement-pers-appui/$', views.modification_type_paiement_pers_appui, name='modification_type_paiement_pers_appui'),
url(r'^modification-type-paiement-divers/$', views.modification_type_paiement_divers, name='modification_type_paiement_divers'),
url(r'^modification-type-paiement-cantine/$', views.modification_type_paiement_cantine, name='modification_type_paiement_cantine'),
url(r'^modification-type-paiement-transport/$', views.modification_type_paiement_transport, name='modification_type_paiement_transport'),
url(r'^modification-type-paiement-dortoir/$', views.modification_type_paiement_dortoir, name='modification_type_paiement_dortoir'),
url(r'^modification-type-paiement-facture/$', views.modification_type_paiement_facture, name='modification_type_paiement_facture'),
url(r'^modification-eleve/$', views.modification_eleve, name='modification_eleve'),
url(r'^modification-eleve2/$', views.modification_eleve2, name='modification_eleve2'),
url(r'^modification-eleve3/$', views.modification_eleve3, name='modification_eleve3'),
url(r'^modification-jours-ouvrables/$', views.modification_jours_ouvrables, name='modification_jours_ouvrables'),
url(r'^modification-boursier/$', views.modification_boursier, name='modification_boursier'),
url(r'^modification-periodes-saisie-actives/$', views.modification_periodes_saisie_actives, name='modification_periodes_saisie_actives'),

url(r'^classe/(?P<id>\d+)$', views.classe, name='classe'),
# url(r'^classe/(?P<string>\d+)$', views.classe, name='classe'),


url('modifier-theme/', views.modifier_theme, name="modifier_theme"),
# url(r'^createsuperuser/', views.createSuperUser, name="createSuperUser"),

url('', views.accueil, name="accueil"),

]