Files
PORTAL_COD2/src/navigation/urls.py
T

16 lines
474 B
Python

from django.urls import include, path
from rest_framework.routers import DefaultRouter
from .views import *
urlpatterns = [
path('links/', LinkAPIView.as_view(), name='LinkAPIView'),
path('news/', NewsAPIView.as_view(), name='NewsAPIView'),
path('gallery/', GalleryAPIView.as_view(), name='GalleryAPIView'),
path('carousels/', CarouselsAPIView.as_view(), name='CarouselsAPIView'),
path('ckeditor/', include('ckeditor_uploader.urls'))
]