djangocms-forms
djangocms-forms copied to clipboard
ValueError: too many values to unpack (expected 2)
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)
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')
)
Which version do you use? Mine is django-cms 3.5 and django 1.9