# -*- coding: utf-8 -*-

from modeltranslation.translator import translator, TranslationOptions, register
from .models import *

@register(ArticleModel)
class Article_TranslationOptions(TranslationOptions):

    fields = (
        'name', 'description', 'seo_title', 'seo_description', 'seo_keywords', 'seo_text',
        'text'
    )

# translator.register(ArticleModel, Article_TranslationOptions)



@register(UserPageModel)
class UserPage_TranslationOptions(TranslationOptions):

    fields = (
        'name', 'description', 'seo_title', 'seo_description', 'seo_keywords', 'seo_text',
        'text'
    )

# translator.register(UserPageModel, UserPage_TranslationOptions)