django-cms / djangocms-bootstrap4

django CMS Bootstrap 4 is a plugin bundle for django CMS providing several components from the popular Bootstrap 4 framework.
https://www.django-cms.org/
Other
82 stars 58 forks source link

Button/Link app Missing Template Error #34

Closed johnmain closed 6 years ago

johnmain commented 6 years ago

Attempting to add a Button shows the following error: image

If I comment out the djangocms_bootstrap4.contrib.bootstrap4_link app I get the djangocms_link app with works correctly.

django-cms 3.5.2

electroniceagle commented 6 years ago

I also see this in django-cms 3.4.6 (LTS). It is looking for: admin/djangocms_icon/widgets/icon.html

electroniceagle commented 6 years ago

Taking a quick look could it be related to Django 1.11 changes? https://docs.djangoproject.com/en/1.11/releases/1.11/#template-widget-incompatibilities-1-11

electroniceagle commented 6 years ago

Next time I'll read the error message before code diving. You just need to install: https://github.com/divio/djangocms-icon and add 'djangocms_icon' to INSTALLED_APPS.

johnmain commented 6 years ago

That fixed the issue.

johnmain commented 6 years ago

Possibly need to Update the Install Instructions? By default on a fresh install of DjangoCMS djangocms_icon is not included in my settings.py file.

electroniceagle commented 6 years ago

https://github.com/divio/djangocms-bootstrap4/pull/35