commenced DRF efforts w. package installation, creation of apps.api, w. UTs & ITs to ensure core efficacy; core.settings & .urls changed to accomodate
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
11
src/apps/api/urls.py
Normal file
11
src/apps/api/urls.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.ListsAPI.as_view(), name='api_lists'),
|
||||
path('<int:list_id>/', views.ListDetailAPI.as_view(), name='api_list_detail'),
|
||||
path('<int:list_id>/items/', views.ListItemsAPI.as_view(), name='api_list_items'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user