HIS pharmacy urls

mail@pastecode.io avatar
unknown
python
2 years ago
267 B
6
Indexable
from django.urls import path
from rest_framework import routers
from .views import DrugViewSet, DrugRequestViewSet

router = routers.DefaultRouter()
router.register(r'drug', DrugViewSet)
router.register(r'drug-requests', DrugRequestViewSet)

urlpatterns = router.urls