Commit cb1f6446 authored by Matheus Miranda's avatar Matheus Miranda
Browse files

Merge branch 'develop' into 'master'

Translate FlatPage model

See merge request !67
parents 11e237f1 5852b12d
......@@ -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
@register(Course)
......@@ -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')
@register(FlatPage)
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