Files
2022-01-13 22:10:51 +02:00

19 lines
442 B
Python

"""Translation classes."""
from modeltranslation.translator import register, TranslationOptions
from kaehmy.models import PresetRole, CustomRole
@register(PresetRole)
class PresetRoleTranslationOptions(TranslationOptions):
"""Class for PresetRole translation options"""
fields = ()
@register(CustomRole)
class CustomRoleTranslationOptions(TranslationOptions):
"""Class for CustomROle translation options"""
fields = ()