parent
5180d7ea3d
commit
bdafdd5f4c
4 changed files with 44 additions and 5 deletions
@ -0,0 +1,23 @@ |
||||
# -*- coding: utf-8 -*- |
||||
# Generated by Django 1.11.6 on 2018-05-10 17:46 |
||||
from __future__ import unicode_literals |
||||
|
||||
import courses.models |
||||
import django.contrib.postgres.fields |
||||
from django.db import migrations, models |
||||
import lms.tools |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('courses', '0006_auto_20180323_1743'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.AddField( |
||||
model_name='lesson', |
||||
name='materials', |
||||
field=django.contrib.postgres.fields.ArrayField(base_field=models.FileField(upload_to=courses.models.upload_material, verbose_name='Материал к уроку'), default=lms.tools.get_empty_list, size=None, verbose_name='Материалы к уроку'), |
||||
), |
||||
] |
||||
Loading…
Reference in new issue