storage yaratildi

This commit is contained in:
Husanjonazamov
2026-03-13 20:17:06 +05:00
commit 1c692b51b6
256 changed files with 8852 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
from .category import * # noqa
from .vendor import * # noqa
from .vendor_product import * # noqa

View File

@@ -0,0 +1,12 @@
from rest_framework import permissions
class CategoryPermission(permissions.BasePermission):
def __init__(self) -> None: ...
def __call__(self, *args, **kwargs):
return self
def has_permission(self, request, view):
return True

12
core/apps/vendors/permissions/vendor.py vendored Normal file
View File

@@ -0,0 +1,12 @@
from rest_framework import permissions
class VendorPermission(permissions.BasePermission):
def __init__(self) -> None: ...
def __call__(self, *args, **kwargs):
return self
def has_permission(self, request, view):
return True

View File

@@ -0,0 +1,23 @@
from rest_framework import permissions
class VendorproductPermission(permissions.BasePermission):
def __init__(self) -> None: ...
def __call__(self, *args, **kwargs):
return self
def has_permission(self, request, view):
return True
class ProductimagePermission(permissions.BasePermission):
def __init__(self) -> None: ...
def __call__(self, *args, **kwargs):
return self
def has_permission(self, request, view):
return True