Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
MOOC packages by hacklab
django-courses
Commits
cba2acaf
Commit
cba2acaf
authored
Jul 13, 2021
by
Matheus Miranda
Browse files
Merge branch 'develop' into 'master'
Remove unused class translation See merge request
!68
parents
cb1f6446
2715b8e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
courses/translation.py
courses/translation.py
+0
-5
No files found.
courses/translation.py
View file @
cba2acaf
...
...
@@ -3,7 +3,6 @@ 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
)
...
...
@@ -50,7 +49,3 @@ class CertificateTemplateTranslationOptions(TranslationOptions):
'base_logo'
,
'signature'
,
'second_signature'
,
'site_logo'
,
'organization_name'
,
'text'
)
@
register
(
FlatPage
)
class
FlatPageTranslationOptions
(
TranslationOptions
):
fields
=
(
'url'
,
'title'
,
'content'
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment