dropdown target fix

This commit is contained in:
Arvind Tiwari 2018-03-05 20:00:31 +05:30
parent 883118e050
commit 4c5912ebc0
2 changed files with 2 additions and 2 deletions

View file

@ -122,7 +122,7 @@ class DCLLinkPluginModel(CMSPlugin):
class DCLNavbarDropdownPluginModel(CMSPlugin): class DCLNavbarDropdownPluginModel(CMSPlugin):
target = models.CharField( target = models.CharField(
max_length=100, max_length=100, null=True, blank=True,
help_text='Optional Url or #id to navigate on click' help_text='Optional Url or #id to navigate on click'
) )
text = models.CharField( text = models.CharField(

View file

@ -38,7 +38,7 @@ class Migration(migrations.Migration):
fields=[ fields=[
('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')), ('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')),
('text', models.CharField(help_text='Text for the dropdown toggle', max_length=50)), ('text', models.CharField(help_text='Text for the dropdown toggle', max_length=50)),
('target', models.CharField(default='', help_text='Optional Url or #id to navigate on click', max_length=100)), ('target', models.CharField(blank=True, help_text='Optional Url or #id to navigate on click', max_length=100, null=True)),
], ],
options={ options={
'abstract': False, 'abstract': False,