mirror of
https://github.com/jazzband/django-categories.git
synced 2026-05-28 16:58:20 +00:00
9 lines
210 B
Python
9 lines
210 B
Python
|
|
from rest_framework.routers import DefaultRouter
|
||
|
|
|
||
|
|
from categories.api.urls import router as category_router
|
||
|
|
|
||
|
|
router = DefaultRouter()
|
||
|
|
router.registry.extend(category_router.registry)
|
||
|
|
|
||
|
|
urlpatterns = router.urls
|