X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6280673f35e13e75e81c5b7821bd2a44a1831eab..357027375ff8867f42ca34bcbfb5a78b5b185fc3:/apps/suggest/migrations/0001_initial.py?ds=inline diff --git a/apps/suggest/migrations/0001_initial.py b/apps/suggest/migrations/0001_initial.py deleted file mode 100644 index b02889762..000000000 --- a/apps/suggest/migrations/0001_initial.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import models, migrations -from django.conf import settings - - -class Migration(migrations.Migration): - - dependencies = [ - migrations.swappable_dependency(settings.AUTH_USER_MODEL), - ] - - operations = [ - migrations.CreateModel( - name='PublishingSuggestion', - fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('contact', models.CharField(max_length=120, verbose_name='Contact', blank=True)), - ('books', models.TextField(null=True, verbose_name='Books', blank=True)), - ('audiobooks', models.TextField(null=True, verbose_name='audiobooks', blank=True)), - ('created_at', models.DateTimeField(auto_now_add=True, verbose_name='creation date')), - ('ip', models.GenericIPAddressField(verbose_name='IP address')), - ('user', models.ForeignKey(blank=True, to=settings.AUTH_USER_MODEL, null=True)), - ], - options={ - 'ordering': ('-created_at',), - 'verbose_name': 'publishing suggestion', - 'verbose_name_plural': 'publishing suggestions', - }, - bases=(models.Model,), - ), - migrations.CreateModel( - name='Suggestion', - fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('contact', models.CharField(max_length=120, verbose_name='Contact', blank=True)), - ('description', models.TextField(verbose_name='Description', blank=True)), - ('created_at', models.DateTimeField(auto_now=True, verbose_name='creation date')), - ('ip', models.GenericIPAddressField(verbose_name='IP address')), - ('user', models.ForeignKey(blank=True, to=settings.AUTH_USER_MODEL, null=True)), - ], - options={ - 'ordering': ('-created_at',), - 'verbose_name': 'suggestion', - 'verbose_name_plural': 'suggestions', - }, - bases=(models.Model,), - ), - ]