update
This commit is contained in:
@@ -1 +1 @@
|
||||
from .category import * # noqa
|
||||
from .category import *
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
from modeltranslation.translator import TranslationOptions, register
|
||||
|
||||
from core.apps.api.models import Category
|
||||
from core.apps.api.models import CategoryModel
|
||||
|
||||
|
||||
@register(Category)
|
||||
@register(CategoryModel)
|
||||
class CategoryTranslation(TranslationOptions):
|
||||
fields = [
|
||||
"name",
|
||||
|
||||
Reference in New Issue
Block a user