HIS pharmacy urls
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