djangocms-forms icon indicating copy to clipboard operation
djangocms-forms copied to clipboard

ValueError: too many values to unpack (expected 2)

Open binydev opened this issue 7 years ago • 2 comments

When I add this to settings DJANGOCMS_FORMS_TEMPLATES = ( # ('djangocms_forms/form_template/default.html', _('Default')), ('templates/custom/contact.html','Contact') )

the following error happens

ValueError: too many values to unpack (expected 2)

binydev avatar May 08 '17 15:05 binydev

I can't reproduce this issue. I added the following to my project settings.

DJANGOCMS_FORMS_TEMPLATES = (
 ('djangocms_forms/form_template/default.html', _('Default')), 
 ('templates/custom/contact.html','Contact') 
)

mishbahr avatar May 09 '17 11:05 mishbahr

Which version do you use? Mine is django-cms 3.5 and django 1.9

binydev avatar May 10 '17 15:05 binydev