Skip to content

Commit

Permalink
Fix extra migration when customizing BLOG_PLUGIN_TEMPLATE_FOLDERS
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Jun 24, 2020
1 parent 2e53d0c commit 4f607ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions djangocms_blog/migrations/0024_auto_20160706_1524.py
Expand Up @@ -18,16 +18,16 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='authorentriesplugin',
name='template_folder',
field=models.CharField(default='plugins', verbose_name='Plugin template', max_length=200, help_text='Select plugin template to load for this instance', choices=BLOG_PLUGIN_TEMPLATE_FOLDERS),
field=models.CharField(default=BLOG_PLUGIN_TEMPLATE_FOLDERS[0][0], verbose_name='Plugin template', max_length=200, help_text='Select plugin template to load for this instance', choices=BLOG_PLUGIN_TEMPLATE_FOLDERS),
),
migrations.AddField(
model_name='genericblogplugin',
name='template_folder',
field=models.CharField(default='plugins', verbose_name='Plugin template', max_length=200, help_text='Select plugin template to load for this instance', choices=BLOG_PLUGIN_TEMPLATE_FOLDERS),
field=models.CharField(default=BLOG_PLUGIN_TEMPLATE_FOLDERS[0][0], verbose_name='Plugin template', max_length=200, help_text='Select plugin template to load for this instance', choices=BLOG_PLUGIN_TEMPLATE_FOLDERS),
),
migrations.AddField(
model_name='latestpostsplugin',
name='template_folder',
field=models.CharField(default='plugins', verbose_name='Plugin template', max_length=200, help_text='Select plugin template to load for this instance', choices=BLOG_PLUGIN_TEMPLATE_FOLDERS),
field=models.CharField(default=BLOG_PLUGIN_TEMPLATE_FOLDERS[0][0], verbose_name='Plugin template', max_length=200, help_text='Select plugin template to load for this instance', choices=BLOG_PLUGIN_TEMPLATE_FOLDERS),
),
]

0 comments on commit 4f607ee

Please sign in to comment.