arteria / cmsplugin-contact-plus

With cmsplugin-contact-plus building custom forms for your django-cms project is a breeze. Now it's so easy to build the forms with exactly the fields you want in the order you want - with a minimal effort.
https://github.com/arteria/cmsplugin-contact-plus
BSD 3-Clause "New" or "Revised" License
30 stars 33 forks source link

add check on import.__file__ #49

Closed bmon closed 7 years ago

bmon commented 7 years ago

Avoids issue discussed in #48

walterrenner commented 7 years ago

I think is is not enough just to catch the exception. The whole autodiscover_templates mechanism needs changes.

With the TEMPLATES settings introduced in django 1.8 the TEMPLATE_LOADERS setting is also deprecated.

jvamvas commented 7 years ago

Thanks for the PR, @bmon :) However, we have decided to remove the template autodiscovery feature altogether, as it is buggy and undocumented