From 0730494f48570ec424f28e55aa5be6a2548ca297 Mon Sep 17 00:00:00 2001 From: PCoder Date: Fri, 24 Nov 2017 08:01:36 +0100 Subject: [PATCH] Add name to ungliech HTMLOnly plugin --- .../migrations/0014_ungleichhtmlonly_name.py | 20 +++++++++++++++++++ ungleich_page/models.py | 1 + 2 files changed, 21 insertions(+) create mode 100644 ungleich_page/migrations/0014_ungleichhtmlonly_name.py diff --git a/ungleich_page/migrations/0014_ungleichhtmlonly_name.py b/ungleich_page/migrations/0014_ungleichhtmlonly_name.py new file mode 100644 index 00000000..4dda823b --- /dev/null +++ b/ungleich_page/migrations/0014_ungleichhtmlonly_name.py @@ -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), + ), + ] diff --git a/ungleich_page/models.py b/ungleich_page/models.py index 2113b4c0..8e8880bd 100644 --- a/ungleich_page/models.py +++ b/ungleich_page/models.py @@ -147,4 +147,5 @@ class UngleichCustomerItem(CMSPlugin): class UngleichHTMLOnly(CMSPlugin): + name = models.CharField(max_length=50, default="", blank=True) HTML = HTMLField()