Commit aea9fe96 authored by Matheus Miranda's avatar Matheus Miranda

Update tranlastion parameters for course moels

parent 0fa3dcc4
......@@ -21,9 +21,9 @@ class UnitTranslationOptions(TranslationOptions):
fields = ('title', 'video', 'side_notes', 'chat_room')
@register(CourseMaterial)
class UnitTranslationOptions(TranslationOptions):
class CourseMaterialTranslationOptions(TranslationOptions):
fields = ('text',)
@register(File)
class UnitTranslationOptions(TranslationOptions):
fields = ('title', 'file')
\ No newline at end of file
class FileTranslationOptions(TranslationOptions):
fields = ('title', 'file')
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