No http sources
[django-sponsors.git] / sponsors / migrations / 0001_initial.py
1 # -*- coding: utf-8 -*-
2 # Generated by Django 1.10.6 on 2017-04-03 16:57
3 from __future__ import unicode_literals
4
5 from django.db import migrations, models
6 import jsonfield.fields
7
8
9 class Migration(migrations.Migration):
10
11     initial = True
12
13     dependencies = [
14     ]
15
16     operations = [
17         migrations.CreateModel(
18             name='Sponsor',
19             fields=[
20                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
21                 ('name', models.CharField(max_length=120, verbose_name='name')),
22                 ('_description', models.CharField(blank=True, max_length=255, verbose_name='description')),
23                 ('logo', models.ImageField(upload_to=b'sponsorzy/sponsor/logo', verbose_name='logo')),
24                 ('url', models.URLField(blank=True, verbose_name='url')),
25             ],
26         ),
27         migrations.CreateModel(
28             name='SponsorPage',
29             fields=[
30                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
31                 ('name', models.CharField(max_length=120, verbose_name='name')),
32                 ('sponsors', jsonfield.fields.JSONField(default={}, verbose_name='sponsors')),
33                 ('_html', models.TextField(blank=True, editable=False)),
34                 ('sprite', models.ImageField(blank=True, upload_to=b'sponsorzy/sprite')),
35             ],
36         ),
37     ]