factory uchun crud va plan list serializerda ozgarish

This commit is contained in:
behruz-dev
2025-12-01 15:14:04 +05:00
parent 2d2a0b521c
commit 719368552f
4 changed files with 196 additions and 0 deletions

View File

@@ -21,6 +21,8 @@ from core.apps.dashboard.views.place import PlaceViewSet
from core.apps.dashboard.views.pharmacy import PharmacyViewSet
# product
from core.apps.dashboard.views.product import ProductViewSet
# factory
from core.apps.dashboard.views.factory import FactoryViewSet
urlpatterns = [
# -------------- user --------------
@@ -61,5 +63,6 @@ router.register("plan", PlanViewSet)
router.register("place", PlaceViewSet)
router.register("pharmacy", PharmacyViewSet)
router.register("product", ProductViewSet)
router.register("factory", FactoryViewSet)
urlpatterns += router.urls