1 from django.db import models, migrations
4 class Migration(migrations.Migration):
10 migrations.CreateModel(
13 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
14 ('name', models.CharField(max_length=120, verbose_name='name')),
15 ('_description', models.CharField(max_length=255, verbose_name='Description', blank=True)),
16 ('logo', models.ImageField(upload_to='sponsorzy/sponsor/logo', verbose_name='logo')),
17 ('url', models.URLField(verbose_name='url', blank=True)),
21 bases=(models.Model,),
23 migrations.CreateModel(
26 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
27 ('name', models.CharField(max_length=120, verbose_name='name')),
28 ('sponsors', models.TextField(default='{}', verbose_name='sponsors')),
29 ('_html', models.TextField(editable=False, blank=True)),
30 ('sprite', models.ImageField(upload_to='sponsorzy/sprite', blank=True)),
34 bases=(models.Model,),