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 core.apps.api.models import TypeModel
from django.db.models.signals import post_save
from django.dispatch import receiver
@receiver(post_save, sender=TypeModel)
def type_signal(sender, instance, created, **kwargs): ...