cnas/server/apps/financial/urls.py

10 lines
245 B
Python

from django.urls import path, include
from rest_framework import routers
from .views import BillViewSet
router = routers.DefaultRouter()
router.register('bill', BillViewSet, basename="bill")
urlpatterns = [
path('', include(router.urls))
]