help text for copyright text

This commit is contained in:
Arvind Tiwari 2018-02-07 18:21:16 +05:30
parent 69a11a6b06
commit 426e56c4f3
2 changed files with 6 additions and 2 deletions

View file

@ -20,7 +20,8 @@ class Migration(migrations.Migration):
('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, ('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')), parent_link=True, primary_key=True, serialize=False, to='cms.CMSPlugin')),
('copyright', models.CharField( ('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( ('link_text', models.CharField(
blank=True, max_length=100, null=True)), blank=True, max_length=100, null=True)),
('link_url', models.URLField(blank=True, ('link_url', models.URLField(blank=True,

View file

@ -225,7 +225,10 @@ class UngleichHTMLOnly(CMSPlugin):
class UngleichFooter(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_text = models.CharField(max_length=100, blank=True, null=True)
link_url = models.URLField( link_url = models.URLField(
blank=True, null=True, blank=True, null=True,