HIS pharmacy urls
unknown
python
a year ago
267 B
6
Indexable
Never
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