From d44bc047175c6fc69d99321dc9d2a0e333c910fa Mon Sep 17 00:00:00 2001 From: husanjon Date: Thu, 2 Apr 2026 15:54:11 +0500 Subject: [PATCH] category va elonlanri olish optimalashtrildi --- core/apps/api/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/apps/api/urls.py b/core/apps/api/urls.py index 6884f04..0f4ed9a 100644 --- a/core/apps/api/urls.py +++ b/core/apps/api/urls.py @@ -8,7 +8,7 @@ from core.apps.api.views.type import TypeView router = DefaultRouter() -router.register("filials", FilialView, basename="filial") +router.register("filial", FilialView, basename="filial") router.register("category", CategoryView, basename="category") router.register("subcategory", SubcategoryView, basename="subcategory") router.register("products", ProductsView, basename="product")