1 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 from django.db import models, migrations
7 class Migration(migrations.Migration):
13 migrations.CreateModel(
16 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
17 ('name', models.CharField(max_length=120, verbose_name='name')),
18 ('_description', models.CharField(max_length=255, verbose_name='Description', blank=True)),
19 ('logo', models.ImageField(upload_to='sponsorzy/sponsor/logo', verbose_name='logo')),
20 ('url', models.URLField(verbose_name='url', blank=True)),
24 bases=(models.Model,),
26 migrations.CreateModel(
29 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
30 ('name', models.CharField(max_length=120, verbose_name='name')),
31 ('sponsors', models.TextField(default='{}', verbose_name='sponsors')),
32 ('_html', models.TextField(editable=False, blank=True)),
33 ('sprite', models.ImageField(upload_to='sponsorzy/sprite', blank=True)),
37 bases=(models.Model,),