db va type togirlandi
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
from .category import * # noqa
|
||||
from .products import * # noqa
|
||||
from .type import * # noqa
|
||||
|
||||
7
core/apps/api/translation/type.py
Normal file
7
core/apps/api/translation/type.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from core.apps.api.models import TypeModel
|
||||
from modeltranslation.translator import TranslationOptions, register
|
||||
|
||||
|
||||
@register(TypeModel)
|
||||
class TypeTranslation(TranslationOptions):
|
||||
fields = []
|
||||
Reference in New Issue
Block a user