Commit 46c6e8b0 authored by Glaucia S. Santos's avatar Glaucia S. Santos

New translation fields

parent d44a39eb
# Generated by Django 2.2.20 on 2021-04-21 04:06
import courses.course_material.models
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('courses', '0024_auto_20210416_1715'),
]
operations = [
migrations.AddField(
model_name='file',
name='file_en',
field=models.FileField(null=True, upload_to=courses.course_material.models.get_upload_path),
),
migrations.AddField(
model_name='file',
name='file_es',
field=models.FileField(null=True, upload_to=courses.course_material.models.get_upload_path),
),
migrations.AddField(
model_name='file',
name='file_pt_br',
field=models.FileField(null=True, upload_to=courses.course_material.models.get_upload_path),
),
]
......@@ -26,4 +26,4 @@ class UnitTranslationOptions(TranslationOptions):
@register(File)
class UnitTranslationOptions(TranslationOptions):
fields = ('title',)
\ No newline at end of file
fields = ('title', 'file')
\ No newline at end of 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