Commit 5852b12d authored by Matheus Miranda's avatar Matheus Miranda
Browse files

Tranlate FlatPage model

parent 6a4c80a6
......@@ -3,6 +3,7 @@ from .models import Course, Lesson, Unit, ProfessorMessage
from .course_material.models import CourseMaterial, File
from .stats.models import AccessibleArea
from .certification.models import CertificateTemplate
from django.contrib.flatpages.models import FlatPage
......@@ -48,3 +49,8 @@ class CertificateTemplateTranslationOptions(TranslationOptions):
fields = ('role', 'name', 'second_role', 'second_name', 'cert_logo',
'base_logo', 'signature', 'second_signature', 'site_logo',
'organization_name', 'text')
class FlatPageTranslationOptions(TranslationOptions):
fields = ('url', 'title', 'content')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment