parent
c0e1b2cab9
commit
a941785d3c
5 changed files with 171 additions and 24 deletions
@ -0,0 +1,31 @@ |
|||||||
|
# -*- coding: utf-8 -*- |
||||||
|
# Generated by Django 1.11.6 on 2018-05-14 14:38 |
||||||
|
from __future__ import unicode_literals |
||||||
|
|
||||||
|
import courses.models |
||||||
|
from django.db import migrations, models |
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration): |
||||||
|
|
||||||
|
dependencies = [ |
||||||
|
('courses', '0008_auto_20180511_1208'), |
||||||
|
] |
||||||
|
|
||||||
|
operations = [ |
||||||
|
migrations.AlterField( |
||||||
|
model_name='course', |
||||||
|
name='big_image', |
||||||
|
field=models.ImageField(blank=True, max_length=255, upload_to=courses.models.upload_big_image, verbose_name='Большое изображение'), |
||||||
|
), |
||||||
|
migrations.AlterField( |
||||||
|
model_name='course', |
||||||
|
name='big_mobile_image', |
||||||
|
field=models.ImageField(blank=True, help_text='Большая картинка для мобильной версии', max_length=255, upload_to=courses.models.upload_mobile_image, verbose_name='Под мобилку'), |
||||||
|
), |
||||||
|
migrations.AlterField( |
||||||
|
model_name='course', |
||||||
|
name='image', |
||||||
|
field=models.ImageField(blank=True, max_length=255, upload_to=courses.models.upload_image, verbose_name='Изображение'), |
||||||
|
), |
||||||
|
] |
||||||
@ -0,0 +1,21 @@ |
|||||||
|
# -*- coding: utf-8 -*- |
||||||
|
# Generated by Django 1.11.6 on 2018-05-14 14:49 |
||||||
|
from __future__ import unicode_literals |
||||||
|
|
||||||
|
import courses.models |
||||||
|
from django.db import migrations, models |
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration): |
||||||
|
|
||||||
|
dependencies = [ |
||||||
|
('courses', '0009_auto_20180514_1438'), |
||||||
|
] |
||||||
|
|
||||||
|
operations = [ |
||||||
|
migrations.AlterField( |
||||||
|
model_name='course', |
||||||
|
name='slug', |
||||||
|
field=models.SlugField(default=courses.models.default_slug, editable=False, max_length=127, unique=True), |
||||||
|
), |
||||||
|
] |
||||||
@ -0,0 +1,20 @@ |
|||||||
|
# -*- coding: utf-8 -*- |
||||||
|
# Generated by Django 1.11.6 on 2018-05-14 18:51 |
||||||
|
from __future__ import unicode_literals |
||||||
|
|
||||||
|
from django.db import migrations, models |
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration): |
||||||
|
|
||||||
|
dependencies = [ |
||||||
|
('courses', '0010_auto_20180514_1449'), |
||||||
|
] |
||||||
|
|
||||||
|
operations = [ |
||||||
|
migrations.AlterField( |
||||||
|
model_name='course', |
||||||
|
name='direction', |
||||||
|
field=models.SmallIntegerField(choices=[(3, 'Бизнес'), (2, 'Веб-дизайн'), (1, 'Разработка'), (4, 'Рисование'), (5, 'Музыка')], default=1, verbose_name='Направление'), |
||||||
|
), |
||||||
|
] |
||||||
Loading…
Reference in new issue