From 426e56c4f35054dc6d73c4eb774e0bf5114713fa Mon Sep 17 00:00:00 2001 From: Arvind Tiwari Date: Wed, 7 Feb 2018 18:21:16 +0530 Subject: [PATCH] help text for copyright text --- ungleich_page/migrations/0018_ungleichfooter.py | 3 ++- ungleich_page/models.py | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ungleich_page/migrations/0018_ungleichfooter.py b/ungleich_page/migrations/0018_ungleichfooter.py index 81ef432e..8260768c 100644 --- a/ungleich_page/migrations/0018_ungleichfooter.py +++ b/ungleich_page/migrations/0018_ungleichfooter.py @@ -20,7 +20,8 @@ class Migration(migrations.Migration): ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='cms.CMSPlugin')), ('copyright', models.CharField( - blank=True, default='', max_length=100)), + blank=True, default='', max_length=100, + help_text='Name of the company alongside the copyright year')), ('link_text', models.CharField( blank=True, max_length=100, null=True)), ('link_url', models.URLField(blank=True, diff --git a/ungleich_page/models.py b/ungleich_page/models.py index 136724ee..f6b87c34 100644 --- a/ungleich_page/models.py +++ b/ungleich_page/models.py @@ -225,7 +225,10 @@ class UngleichHTMLOnly(CMSPlugin): class UngleichFooter(CMSPlugin): - copyright = models.CharField(max_length=100, default='', blank=True) + copyright = models.CharField( + max_length=100, default='', blank=True, + help_text='Name of the company alongside the copyright year' + ) link_text = models.CharField(max_length=100, blank=True, null=True) link_url = models.URLField( blank=True, null=True,