Skip to content

Commit

Permalink
Fix migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
Fantomas42 committed Apr 27, 2015
1 parent 3918873 commit b1342be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions zinnia/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class Migration(migrations.Migration):
('trackback_count', models.IntegerField(
default=0, verbose_name='trackback count')),
('excerpt', models.TextField(
help_text='Used for search and SEO.',
help_text='Used for SEO purposes.',
verbose_name='excerpt', blank=True)),
('image', models.ImageField(
help_text='Used for illustration.',
Expand Down Expand Up @@ -125,11 +125,11 @@ class Migration(migrations.Migration):
max_length=250, verbose_name='detail template',
choices=[('entry_detail.html', 'Default template')])),
('categories', models.ManyToManyField(
related_name='entries', null=True,
related_name='entries',
verbose_name='categories', to='zinnia.Category',
blank=True)),
('related', models.ManyToManyField(
related_name='related_rel_+', null=True,
related_name='related_rel_+',
verbose_name='related entries', to='zinnia.Entry',
blank=True)),
('sites', models.ManyToManyField(
Expand Down
4 changes: 2 additions & 2 deletions zinnia/migrations/0002_lead_paragraph_and_image_caption.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ class Migration(migrations.Migration):
model_name='entry',
name='image_caption',
field=models.TextField(
default='', help_text="Image's caption",
help_text="Image's caption.",
verbose_name='caption', blank=True),
preserve_default=False,
),
migrations.AddField(
model_name='entry',
name='lead',
field=models.TextField(
default='', help_text='Lead paragraph',
help_text='Lead paragraph',
verbose_name='lead', blank=True),
preserve_default=False,
),
Expand Down

0 comments on commit b1342be

Please sign in to comment.