""" Ce fichier est pour organiser les URLs de l'application web. Le code de ce module est une correspondance entre expressions de chemins d’URL et fonctions Python. """ from django.urls import include, path from rest_framework import routers from . import views router = routers.DefaultRouter() router.register(r'notations', views.NotationView, basename='Notation') router.register(r'decisions', views.DecisionView, basename='Decision') router.register(r'groupes_marques', views.MarquesGroupeView, basename='MarquesGroupe') router.register(r'marques', views.MarqueView, basename='Marque') router.register(r'domaines', views.DomaineView, basename='Domaine') router.register(r'filieres', views.FiliereView, basename='Filiere') router.register(r'administres', views.AdministreView, basename='Administre') router.register(r'administres_pams', views.AdministrePAMView, basename='Administre') router.register(r'postes', views.PosteView, basename='Poste') router.register(r'postes_pams', views.PostePAMView, basename='Poste') router.register(r'liste_preferences', views.ListesPreferencesView, basename='PreferencesListe') router.register(r'fmob', views.FmobView, basename='FMOB') router.register(r'formation_emploi', views.FormationEmploiView, basename='FormationEmploi') router.register(r'sous_vivier_association', views.SousVivierAssociationView, basename='SousVivierAssociation') router.register(r'fe_pcp', views.PcpFeGroupeView, basename='PcpFeGroupe') # Wire up our API using automatic URL routing. # Additionally, we include login URLs for the browsable API. urlpatterns = [ path('alimentation/', views.AlimentationView.as_view()), path('nettoyage_pam/', views.NettoyagePamView.as_view()), path('chargement_pam/', views.AlimentationPamView.as_view()), path('alimentation_ref_fe/', views.AlimentationReferentielView.as_view()), path('alimentation_zones_geo/', views.AlimentationZoneGeographiqueView.as_view()), path('alimentation_ref_droits/', views.AlimentationReferentielsDroitView.as_view()), path('alimentation_commentaires/', views.AlimentationCommentairesView.as_view()), path('suppression_administres/', views.SuppressionAdministresView.as_view()), path('exportation_fichiers/', views.ExportationFichiersView.as_view()), path('scoring/', views.ScoringView.as_view()), path('arret/', views.ArretCalcul.as_view()), path('suppression/', views.SuppressionAdministresView.as_view()), path('references/', views.ReferencesView.as_view()), path('me/', views.CurrentUserView.as_view()), path('auth/', include('rest_framework.urls', namespace='rest_framework')), path('chargement_sv/', views.ChargementSVView.as_view()), path('chargement_competences/', views.ChargementCompetenceView.as_view()), path('fiche_detaillee/', views.FicheDetailleeView.as_view()), path('reporting/', views.ReportingView.as_view()), path('', include(router.urls)), ]