mirror of
https://github.com/andwati/store-api.git
synced 2026-11-23 17:08:49 +00:00
completed brand API routes
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
from django.urls import include, path
|
||||
from rest_framework.routers import DefaultRouter
|
||||
|
||||
from .views import BrandViewSet
|
||||
|
||||
router = DefaultRouter()
|
||||
router.register(r"Brands", BrandViewSet)
|
||||
urlpatterns = router.urls
|
||||
Reference in New Issue
Block a user