1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
4 from django.db import models, migrations
5 import jsonfield.fields
8 class Migration(migrations.Migration):
14 migrations.CreateModel(
17 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
18 ('name', models.CharField(max_length=120, verbose_name='name')),
19 ('_description', models.CharField(max_length=255, verbose_name='Description', blank=True)),
20 ('logo', models.ImageField(upload_to=b'sponsorzy/sponsor/logo', verbose_name='logo')),
21 ('url', models.URLField(verbose_name='url', blank=True)),
25 bases=(models.Model,),
27 migrations.CreateModel(
30 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
31 ('name', models.CharField(max_length=120, verbose_name='name')),
32 ('sponsors', jsonfield.fields.JSONField(default={}, verbose_name='sponsors')),
33 ('_html', models.TextField(editable=False, blank=True)),
34 ('sprite', models.ImageField(upload_to=b'sponsorzy/sprite', blank=True)),
38 bases=(models.Model,),