Add name to ungliech HTMLOnly plugin
This commit is contained in:
parent
3f2304aa3b
commit
0730494f48
2 changed files with 21 additions and 0 deletions
20
ungleich_page/migrations/0014_ungleichhtmlonly_name.py
Normal file
20
ungleich_page/migrations/0014_ungleichhtmlonly_name.py
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.9.4 on 2017-11-24 07:00
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('ungleich_page', '0013_ungleichhtmlonly'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='ungleichhtmlonly',
|
||||||
|
name='name',
|
||||||
|
field=models.CharField(blank=True, default='', max_length=50),
|
||||||
|
),
|
||||||
|
]
|
|
@ -147,4 +147,5 @@ class UngleichCustomerItem(CMSPlugin):
|
||||||
|
|
||||||
|
|
||||||
class UngleichHTMLOnly(CMSPlugin):
|
class UngleichHTMLOnly(CMSPlugin):
|
||||||
|
name = models.CharField(max_length=50, default="", blank=True)
|
||||||
HTML = HTMLField()
|
HTML = HTMLField()
|
||||||
|
|
Loading…
Reference in a new issue