1 # -*- coding: utf-8 -*-
2 # Generated by Django 1.10.7 on 2017-06-22 09:40
3 from __future__ import unicode_literals
5 from django.db import migrations, models
6 import django.db.models.deletion
10 class Migration(migrations.Migration):
18 migrations.CreateModel(
21 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
22 ('name', models.CharField(max_length=120)),
23 ('caption', models.TextField(blank=True, null=True)),
24 ('slug', models.SlugField()),
27 migrations.CreateModel(
30 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
31 ('image', models.ImageField(null=True, upload_to=photo.models.get_upload_path)),
32 ('caption', models.TextField(blank=True, null=True)),
33 ('order', models.IntegerField(blank=True, null=True)),
34 ('album', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='photo.Album')),