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
aea9fe96
Commit
aea9fe96
authored
May 03, 2021
by
Matheus Miranda
Browse files
Update tranlastion parameters for course moels
parent
0fa3dcc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
courses/translation.py
courses/translation.py
+3
-3
No files found.
courses/translation.py
View file @
aea9fe96
...
...
@@ -21,9 +21,9 @@ class UnitTranslationOptions(TranslationOptions):
fields
=
(
'title'
,
'video'
,
'side_notes'
,
'chat_room'
)
@
register
(
CourseMaterial
)
class
Unit
TranslationOptions
(
TranslationOptions
):
class
CourseMaterial
TranslationOptions
(
TranslationOptions
):
fields
=
(
'text'
,)
@
register
(
File
)
class
UnitTranslationOptions
(
TranslationOptions
):
fields
=
(
'title'
,
'file'
)
\ No newline at end of file
class
FileTranslationOptions
(
TranslationOptions
):
fields
=
(
'title'
,
'file'
)
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