1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
6 from modeltranslation.translator import translator, TranslationOptions
7 from .models import ReminderEmail
10 class ReminderEmailTranslationOptions(TranslationOptions):
11 fields = ('subject', 'body')
13 translator.register(ReminderEmail, ReminderEmailTranslationOptions)