first base of project-changed apps: Herd-livestock-tag-log-elasticsearch-
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
from django.urls import path, include
|
||||
from rest_framework import routers
|
||||
from .api import HerdViewSet
|
||||
|
||||
router = routers.DefaultRouter()
|
||||
router.register('herd', HerdViewSet, basename='herd')
|
||||
|
||||
urlpatterns = [
|
||||
path('api/v1/', include(router.urls))
|
||||
]
|
||||
Reference in New Issue
Block a user