Remove obsolete jsonfield dependency.
[wolnelektury.git] / src / sponsors / migrations / 0001_initial.py
1 from django.db import models, migrations
2
3
4 class Migration(migrations.Migration):
5
6     dependencies = [
7     ]
8
9     operations = [
10         migrations.CreateModel(
11             name='Sponsor',
12             fields=[
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)),
18             ],
19             options={
20             },
21             bases=(models.Model,),
22         ),
23         migrations.CreateModel(
24             name='SponsorPage',
25             fields=[
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)),
31             ],
32             options={
33             },
34             bases=(models.Model,),
35         ),
36     ]