Commit 97b6d21f by Florian Apolloner

Fixed test migrations after previous commit.

parent 5f1ddeb5
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
from __future__ import unicode_literals from __future__ import unicode_literals
from django.db import models, migrations from django.db import models, migrations
import taggit.models
import tests.models
import taggit.managers import taggit.managers
...@@ -29,7 +27,7 @@ class Migration(migrations.Migration): ...@@ -29,7 +27,7 @@ class Migration(migrations.Migration):
name='CustomManager', name='CustomManager',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('tags', taggit.managers.TaggableManager(to=taggit.models.Tag, through=taggit.models.TaggedItem, help_text='A comma-separated list of tags.', verbose_name='Tags')), ('tags', taggit.managers.TaggableManager(to='taggit.Tag', through='taggit.TaggedItem', help_text='A comma-separated list of tags.', verbose_name='Tags')),
], ],
options={ options={
}, },
...@@ -98,7 +96,7 @@ class Migration(migrations.Migration): ...@@ -98,7 +96,7 @@ class Migration(migrations.Migration):
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('name', models.CharField(max_length=50)), ('name', models.CharField(max_length=50)),
('tags', taggit.managers.TaggableManager(to=taggit.models.Tag, through=taggit.models.TaggedItem, help_text='A comma-separated list of tags.', verbose_name='Tags')), ('tags', taggit.managers.TaggableManager(to='taggit.Tag', through='taggit.TaggedItem', help_text='A comma-separated list of tags.', verbose_name='Tags')),
], ],
options={ options={
}, },
...@@ -108,7 +106,7 @@ class Migration(migrations.Migration): ...@@ -108,7 +106,7 @@ class Migration(migrations.Migration):
name='Movie', name='Movie',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('tags', taggit.managers.TaggableManager(to=taggit.models.Tag, through=taggit.models.TaggedItem, help_text='A comma-separated list of tags.', verbose_name='Tags')), ('tags', taggit.managers.TaggableManager(to='taggit.Tag', through='taggit.TaggedItem', help_text='A comma-separated list of tags.', verbose_name='Tags')),
], ],
options={ options={
'abstract': False, 'abstract': False,
...@@ -128,7 +126,7 @@ class Migration(migrations.Migration): ...@@ -128,7 +126,7 @@ class Migration(migrations.Migration):
name='MultipleTagsGFK', name='MultipleTagsGFK',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('tags1', taggit.managers.TaggableManager(to=taggit.models.Tag, through=taggit.models.TaggedItem, help_text='A comma-separated list of tags.', verbose_name='Tags')), ('tags1', taggit.managers.TaggableManager(to='taggit.Tag', through='taggit.TaggedItem', help_text='A comma-separated list of tags.', verbose_name='Tags')),
], ],
options={ options={
}, },
...@@ -191,15 +189,15 @@ class Migration(migrations.Migration): ...@@ -191,15 +189,15 @@ class Migration(migrations.Migration):
bases=(models.Model,), bases=(models.Model,),
), ),
migrations.AddField( migrations.AddField(
model_name='officialpet', model_name='officialfood',
name='tags', name='tags',
field=taggit.managers.TaggableManager(to=tests.models.OfficialTag, through=tests.models.OfficialThroughModel, help_text='A comma-separated list of tags.', verbose_name='Tags'), field=taggit.managers.TaggableManager(to='tests.OfficialTag', through='tests.OfficialThroughModel', help_text='A comma-separated list of tags.', verbose_name='Tags'),
preserve_default=True, preserve_default=True,
), ),
migrations.AddField( migrations.AddField(
model_name='officialfood', model_name='officialpet',
name='tags', name='tags',
field=taggit.managers.TaggableManager(to=tests.models.OfficialTag, through=tests.models.OfficialThroughModel, help_text='A comma-separated list of tags.', verbose_name='Tags'), field=taggit.managers.TaggableManager(to='tests.OfficialTag', through='tests.OfficialThroughModel', help_text='A comma-separated list of tags.', verbose_name='Tags'),
preserve_default=True, preserve_default=True,
), ),
migrations.CreateModel( migrations.CreateModel(
...@@ -225,14 +223,14 @@ class Migration(migrations.Migration): ...@@ -225,14 +223,14 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='pet', model_name='pet',
name='tags', name='tags',
field=taggit.managers.TaggableManager(to=taggit.models.Tag, through=taggit.models.TaggedItem, help_text='A comma-separated list of tags.', verbose_name='Tags'), field=taggit.managers.TaggableManager(to='taggit.Tag', through='taggit.TaggedItem', help_text='A comma-separated list of tags.', verbose_name='Tags'),
preserve_default=True, preserve_default=True,
), ),
migrations.CreateModel( migrations.CreateModel(
name='Photo', name='Photo',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('tags', taggit.managers.TaggableManager(to=taggit.models.Tag, through=taggit.models.TaggedItem, help_text='A comma-separated list of tags.', verbose_name='Tags')), ('tags', taggit.managers.TaggableManager(to='taggit.Tag', through='taggit.TaggedItem', help_text='A comma-separated list of tags.', verbose_name='Tags')),
], ],
options={ options={
'abstract': False, 'abstract': False,
...@@ -252,7 +250,7 @@ class Migration(migrations.Migration): ...@@ -252,7 +250,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='custompkfood', model_name='custompkfood',
name='tags', name='tags',
field=taggit.managers.TaggableManager(to=taggit.models.Tag, through=tests.models.TaggedCustomPKFood, help_text='A comma-separated list of tags.', verbose_name='Tags'), field=taggit.managers.TaggableManager(to='taggit.Tag', through='tests.TaggedCustomPKFood', help_text='A comma-separated list of tags.', verbose_name='Tags'),
preserve_default=True, preserve_default=True,
), ),
migrations.AddField( migrations.AddField(
...@@ -280,7 +278,7 @@ class Migration(migrations.Migration): ...@@ -280,7 +278,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='custompkpet', model_name='custompkpet',
name='tags', name='tags',
field=taggit.managers.TaggableManager(to=taggit.models.Tag, through=tests.models.TaggedCustomPKPet, help_text='A comma-separated list of tags.', verbose_name='Tags'), field=taggit.managers.TaggableManager(to='taggit.Tag', through='tests.TaggedCustomPKPet', help_text='A comma-separated list of tags.', verbose_name='Tags'),
preserve_default=True, preserve_default=True,
), ),
migrations.AddField( migrations.AddField(
...@@ -308,7 +306,7 @@ class Migration(migrations.Migration): ...@@ -308,7 +306,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='directfood', model_name='directfood',
name='tags', name='tags',
field=taggit.managers.TaggableManager(to=taggit.models.Tag, through=tests.models.TaggedFood, help_text='A comma-separated list of tags.', verbose_name='Tags'), field=taggit.managers.TaggableManager(to='taggit.Tag', through='tests.TaggedFood', help_text='A comma-separated list of tags.', verbose_name='Tags'),
preserve_default=True, preserve_default=True,
), ),
migrations.AddField( migrations.AddField(
...@@ -336,7 +334,7 @@ class Migration(migrations.Migration): ...@@ -336,7 +334,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='directpet', model_name='directpet',
name='tags', name='tags',
field=taggit.managers.TaggableManager(to=taggit.models.Tag, through=tests.models.TaggedPet, help_text='A comma-separated list of tags.', verbose_name='Tags'), field=taggit.managers.TaggableManager(to='taggit.Tag', through='tests.TaggedPet', help_text='A comma-separated list of tags.', verbose_name='Tags'),
preserve_default=True, preserve_default=True,
), ),
migrations.AddField( migrations.AddField(
...@@ -364,7 +362,7 @@ class Migration(migrations.Migration): ...@@ -364,7 +362,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='multipletags', model_name='multipletags',
name='tags1', name='tags1',
field=taggit.managers.TaggableManager(to=taggit.models.Tag, through=tests.models.Through1, help_text='A comma-separated list of tags.', verbose_name='Tags'), field=taggit.managers.TaggableManager(to='taggit.Tag', through='tests.Through1', help_text='A comma-separated list of tags.', verbose_name='Tags'),
preserve_default=True, preserve_default=True,
), ),
migrations.AddField( migrations.AddField(
...@@ -392,7 +390,7 @@ class Migration(migrations.Migration): ...@@ -392,7 +390,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='multipletags', model_name='multipletags',
name='tags2', name='tags2',
field=taggit.managers.TaggableManager(to=taggit.models.Tag, through=tests.models.Through2, help_text='A comma-separated list of tags.', verbose_name='Tags'), field=taggit.managers.TaggableManager(to='taggit.Tag', through='tests.Through2', help_text='A comma-separated list of tags.', verbose_name='Tags'),
preserve_default=True, preserve_default=True,
), ),
migrations.AddField( migrations.AddField(
...@@ -423,7 +421,7 @@ class Migration(migrations.Migration): ...@@ -423,7 +421,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='multipletagsgfk', model_name='multipletagsgfk',
name='tags2', name='tags2',
field=taggit.managers.TaggableManager(to=taggit.models.Tag, through=tests.models.ThroughGFK, help_text='A comma-separated list of tags.', verbose_name='Tags'), field=taggit.managers.TaggableManager(to='taggit.Tag', through='tests.ThroughGFK', help_text='A comma-separated list of tags.', verbose_name='Tags'),
preserve_default=True, preserve_default=True,
), ),
migrations.CreateModel( migrations.CreateModel(
...@@ -447,7 +445,7 @@ class Migration(migrations.Migration): ...@@ -447,7 +445,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='article', model_name='article',
name='tags', name='tags',
field=taggit.managers.TaggableManager(to=taggit.models.Tag, through=tests.models.ArticleTaggedItem, help_text='A comma-separated list of tags.', verbose_name='Tags'), field=taggit.managers.TaggableManager(to='taggit.Tag', through='tests.ArticleTaggedItem', help_text='A comma-separated list of tags.', verbose_name='Tags'),
preserve_default=True, preserve_default=True,
), ),
] ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment