db va type togirlandi

This commit is contained in:
khego
2026-03-31 20:46:54 +05:00
parent cf23a61b98
commit 2dee1cc1e6
39 changed files with 5733 additions and 21 deletions

View File

@@ -1,2 +1,3 @@
from .category import * # noqa
from .products import * # noqa
from .type import * # noqa

View File

@@ -0,0 +1,7 @@
from rest_framework import permissions
class TypePermission(permissions.BasePermission):
def has_permission(self, request, view):
return True