Search ads uchun api chiqarildi

This commit is contained in:
2025-11-27 15:02:23 +05:00
parent 94f129c446
commit 02fd95fe1f
12 changed files with 206 additions and 2 deletions

View File

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

View File

@@ -0,0 +1,10 @@
from modeltranslation.translator import TranslationOptions, register
from core.apps.api.models import Category
@register(Category)
class CategoryTranslation(TranslationOptions):
fields = [
"name",
]