1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
4 from django.db import models, migrations
5 from django.conf import settings
8 class Migration(migrations.Migration):
11 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
15 migrations.CreateModel(
16 name='PublishingSuggestion',
18 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
19 ('contact', models.CharField(max_length=120, verbose_name='Contact', blank=True)),
20 ('books', models.TextField(null=True, verbose_name='Books', blank=True)),
21 ('audiobooks', models.TextField(null=True, verbose_name='audiobooks', blank=True)),
22 ('created_at', models.DateTimeField(auto_now_add=True, verbose_name='creation date')),
23 ('ip', models.GenericIPAddressField(verbose_name='IP address')),
24 ('user', models.ForeignKey(blank=True, to=settings.AUTH_USER_MODEL, null=True)),
27 'ordering': ('-created_at',),
28 'verbose_name': 'publishing suggestion',
29 'verbose_name_plural': 'publishing suggestions',
31 bases=(models.Model,),
33 migrations.CreateModel(
36 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
37 ('contact', models.CharField(max_length=120, verbose_name='Contact', blank=True)),
38 ('description', models.TextField(verbose_name='Description', blank=True)),
39 ('created_at', models.DateTimeField(auto_now=True, verbose_name='creation date')),
40 ('ip', models.GenericIPAddressField(verbose_name='IP address')),
41 ('user', models.ForeignKey(blank=True, to=settings.AUTH_USER_MODEL, null=True)),
44 'ordering': ('-created_at',),
45 'verbose_name': 'suggestion',
46 'verbose_name_plural': 'suggestions',
48 bases=(models.Model,),