All checks were successful
Build and Deploy LTY / build-and-deploy (push) Successful in 47m12s
- Add new card API endpoints and serializers - Update sidebar navigation - Update claude settings permissions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
664 B
Python
17 lines
664 B
Python
from django.urls import path, include
|
|
from rest_framework.routers import DefaultRouter
|
|
from . import views
|
|
|
|
router = DefaultRouter()
|
|
router.register(r'templates', views.CardTemplateViewSet)
|
|
router.register(r'batches', views.CardBatchViewSet)
|
|
router.register(r'cards', views.CardViewSet, basename='card')
|
|
|
|
urlpatterns = [
|
|
path('', include(router.urls)),
|
|
path('user/cards/', views.UserCardListView.as_view(), name='user-cards'),
|
|
path('category/<str:category>/', views.CategoryCardTemplateListView.as_view(), name='category-templates'),
|
|
path('mobile/clothing/', views.MobileClothingListView.as_view(), name='mobile-clothing-list'),
|
|
]
|
|
|