1 # -*- coding: utf-8 -*-
3 # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
4 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
7 from modeltranslation.translator import translator, TranslationOptions
8 from catalogue.models import Tag, Category
11 class TagTranslationOptions(TranslationOptions):
15 class CategoryTranslationOptions(TranslationOptions):
19 translator.register(Tag, TagTranslationOptions)
20 translator.register(Category, CategoryTranslationOptions)