<filename>server/blog/translation.py
from modeltranslation.translator import TranslationOptions, register

from blog.models import Post, Tags


@register(Tags)
class TagsTranslation(TranslationOptions):
    fields = ('name',)
    required_languages = ('he',)


@register(Post)
class PostTranslation(TranslationOptions):
    fields = ('title', 'author', 'body', 'share_image')
    required_languages = ('he',)

<filename>server/blog/translation.py
from modeltranslation.translator import TranslationOptions, register

from blog.models import Post, Tags


@register(Tags)
class TagsTranslation(TranslationOptions):
    fields = ('name',)
    required_languages = ('he',)


@register(Post)
class PostTranslation(TranslationOptions):
    fields = ('title', 'author', 'body', 'share_image')
    required_languages = ('he',)
