Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

ValueError: too many values to unpack (expected 2) #55

Open
binydev opened this issue May 8, 2017 · 2 comments
Open

ValueError: too many values to unpack (expected 2) #55

binydev opened this issue May 8, 2017 · 2 comments

Comments

@binydev
Copy link

binydev commented May 8, 2017

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)

@mishbahr
Copy link
Owner

mishbahr commented May 9, 2017

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') 
)

@binydev
Copy link
Author

binydev commented May 10, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants