Spaces:
Sleeping
Sleeping
Download formations/urls.py from FerdinandPyCode/lambda_hf_v2: direct link, hf CLI and curl.
- Browser
- Download file 780 Bytes
-
https://huggingface.co/spaces/FerdinandPyCode/lambda_hf_v2/resolve/main/formations/urls.py
- Command line
-
hf download hf://spaces/FerdinandPyCode/lambda_hf_v2/formations/urls.py
-
curl -L -o urls.py https://huggingface.co/spaces/FerdinandPyCode/lambda_hf_v2/resolve/main/formations/urls.py
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)), | |
| ] |