14 lines
346 B
Python
14 lines
346 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('carousels/', CarouselsAPIView.as_view(), name='CarouselsAPIView'),
|
|
|
|
|
|
|
|
] |