mirror of
https://github.com/andwati/store-api.git
synced 2026-10-26 21:12:16 +00:00
9 lines
213 B
Python
9 lines
213 B
Python
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
|