FerdinandPyCode's picture
track files 2
113d0af
raw
history blame
780 Bytes
from django.urls import path, include
from .views import *
from rest_framework import routers
routes = routers.DefaultRouter()
routes.register(r'categorie_formations', CategorieFormationViews)
routes.register(r'formations',FormationViews)
routes.register(r'user_formations',UserFormationViews)
routes.register(r'cours',CoursViews)
routes.register(r'formations_archives',ArchiveFormationViews)
routes.register(r'list_souhait_formations',ListSouhaitFormationViews)
routes.register(r'favoris_formations',FavorisFormationViews)
routes.register(r'user_panier',PanierUserViews)
routes.register(r'avis_formation',AvisFormationViews)
routes.register(r'panier_user',PaiementUserViews)
# routes.register(r'type_roles',TypeRoleViews)
urlpatterns = [
path('',include(routes.urls)),
]