update
This commit is contained in:
11
backEnd/home/urls.py
Normal file
11
backEnd/home/urls.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from django.urls import path
|
||||
from . import views
|
||||
|
||||
app_name = 'home'
|
||||
|
||||
urlpatterns = [
|
||||
# Banner endpoints
|
||||
path('banner/', views.HomeBannerListAPIView.as_view(), name='home-banner-list'),
|
||||
path('banner/<int:pk>/', views.HomeBannerDetailAPIView.as_view(), name='home-banner-detail'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user