Commit 593bbc68 by Florian Apolloner

Used unicode_literals in migrations.

parent 6d822d97
# encoding: utf8 # encoding: utf8
from __future__ import unicode_literals
from django.db import models, migrations from django.db import models, migrations
...@@ -12,27 +13,27 @@ class Migration(migrations.Migration): ...@@ -12,27 +13,27 @@ class Migration(migrations.Migration):
migrations.CreateModel( migrations.CreateModel(
name='Tag', name='Tag',
fields=[ fields=[
(u'id', models.AutoField(verbose_name=u'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(unique=True, max_length=100, verbose_name=u'Name')), ('name', models.CharField(unique=True, max_length=100, verbose_name='Name')),
('slug', models.SlugField(unique=True, max_length=100, verbose_name=u'Slug')), ('slug', models.SlugField(unique=True, max_length=100, verbose_name='Slug')),
], ],
options={ options={
u'verbose_name': u'Tag', 'verbose_name': 'Tag',
u'verbose_name_plural': u'Tags', 'verbose_name_plural': 'Tags',
}, },
bases=(models.Model,), bases=(models.Model,),
), ),
migrations.CreateModel( migrations.CreateModel(
name='TaggedItem', name='TaggedItem',
fields=[ fields=[
(u'id', models.AutoField(verbose_name=u'ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('tag', models.ForeignKey(to='taggit.Tag', to_field=u'id')), ('tag', models.ForeignKey(to='taggit.Tag', to_field='id')),
('object_id', models.IntegerField(verbose_name=u'Object id', db_index=True)), ('object_id', models.IntegerField(verbose_name='Object id', db_index=True)),
('content_type', models.ForeignKey(to='contenttypes.ContentType', to_field=u'id', verbose_name=u'Content type')), ('content_type', models.ForeignKey(to='contenttypes.ContentType', to_field='id', verbose_name='Content type')),
], ],
options={ options={
u'verbose_name': u'Tagged Item', 'verbose_name': 'Tagged Item',
u'verbose_name_plural': u'Tagged Items', 'verbose_name_plural': 'Tagged Items',
}, },
bases=(models.Model,), bases=(models.Model,),
), ),
......
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