Added migration for aldryn-apphooks-config>0.3

This commit is contained in:
Iacopo Spalletti 2017-03-04 11:19:53 +01:00
parent aa1f17efc0
commit eb071babdb
No known key found for this signature in database
GPG key ID: BDCBC2EB289F60C6

View file

@ -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'),
),
]