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

Empty choice of Form Template yields in error during rendering #64

Open
tschale opened this issue Apr 9, 2018 · 0 comments
Open

Empty choice of Form Template yields in error during rendering #64

tschale opened this issue Apr 9, 2018 · 0 comments

Comments

@tschale
Copy link

tschale commented Apr 9, 2018

Per default, Form Template is an empty choice. This used to work, but since I updated to python 3.4, Django 1.11.11 and django-cms 3.5.1 on Ubuntu 14.04, this produces an error during template rendering. On FormPlugin.get_render_template, the instance.form_template is an empty string, which produces the error, as select_template only excepts a TemplateDoesNotExist error and not the necessary IsADirectoryError.

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

1 participant