1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
4 from django.db import models, migrations
8 class Migration(migrations.Migration):
14 migrations.CreateModel(
17 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
18 ('title', models.CharField(max_length=255, verbose_name='title')),
19 ('author', models.CharField(max_length=255, verbose_name='author')),
20 ('license_name', models.CharField(max_length=255, verbose_name='license name')),
21 ('license_url', models.URLField(max_length=255, verbose_name='license URL', blank=True)),
22 ('source_url', models.URLField(null=True, verbose_name='source URL', blank=True)),
23 ('download_url', models.URLField(unique=True, null=True, verbose_name='image download URL', blank=True)),
24 ('file', models.ImageField(upload_to=b'cover/image', storage=cover.models.OverwriteStorage(), verbose_name='file')),
27 'verbose_name': 'cover image',
28 'verbose_name_plural': 'cover images',
30 bases=(models.Model,),