Added migration for aldryn-apphooks-config>0.3
This commit is contained in:
parent
aa1f17efc0
commit
eb071babdb
1 changed files with 29 additions and 0 deletions
29
djangocms_blog/migrations/0022_auto_20170304_1040.py
Normal file
29
djangocms_blog/migrations/0022_auto_20170304_1040.py
Normal 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'),
|
||||||
|
),
|
||||||
|
]
|
Loading…
Reference in a new issue