From eb071babdb3867f394d28fd1e1097427fe01d0dc Mon Sep 17 00:00:00 2001 From: Iacopo Spalletti Date: Sat, 4 Mar 2017 11:19:53 +0100 Subject: [PATCH] Added migration for aldryn-apphooks-config>0.3 --- .../migrations/0022_auto_20170304_1040.py | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 djangocms_blog/migrations/0022_auto_20170304_1040.py diff --git a/djangocms_blog/migrations/0022_auto_20170304_1040.py b/djangocms_blog/migrations/0022_auto_20170304_1040.py new file mode 100644 index 0000000..8a6ec77 --- /dev/null +++ b/djangocms_blog/migrations/0022_auto_20170304_1040.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.12 on 2017-03-04 09:40 +from __future__ import unicode_literals + +from distutils.version import LooseVersion + +from django.db import migrations, models + +import aldryn_apphooks_config + + +class Migration(migrations.Migration): + dependencies = [ + ('djangocms_blog', '0021_auto_20160823_2008'), + ] + + if LooseVersion(aldryn_apphooks_config.__version__) > LooseVersion('0.3.0'): + operations = [ + migrations.AlterField( + model_name='blogconfig', + name='namespace', + field=models.CharField(default=None, max_length=100, unique=True, verbose_name='Instance namespace'), + ), + migrations.AlterField( + model_name='blogconfig', + name='type', + field=models.CharField(max_length=100, verbose_name='Type'), + ), + ]