You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.2 KiB
31 lines
1.2 KiB
# Generated by Django 2.0.3 on 2018-04-10 08:51
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('school', '0007_schoolscheduleimage'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='LiveLesson',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('deactivated_at', models.DateTimeField(blank=True, default=None, null=True)),
|
|
('title', models.CharField(max_length=100, verbose_name='Название урока')),
|
|
('short_description', models.TextField(verbose_name='Краткое описание урока')),
|
|
('stream', models.URLField(verbose_name='Ссылка на VIMEO')),
|
|
('date', models.DateField(blank=True, null=True)),
|
|
('created_at', models.DateTimeField(auto_now_add=True)),
|
|
('update_at', models.DateTimeField(auto_now=True)),
|
|
],
|
|
options={
|
|
'verbose_name': 'Урок',
|
|
'verbose_name_plural': 'Уроки',
|
|
'ordering': ('title',),
|
|
},
|
|
),
|
|
]
|
|
|