1 # This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
5 from modeltranslation.translator import translator, TranslationOptions
6 from .models import ReminderEmail
9 class ReminderEmailTranslationOptions(TranslationOptions):
10 fields = ('subject', 'body')
12 translator.register(ReminderEmail, ReminderEmailTranslationOptions)