diff --git a/taccsite_cms/contrib/bootstrap4_djangocms_link/cms_plugins.py b/taccsite_cms/contrib/bootstrap4_djangocms_link/cms_plugins.py index 44de124aa..5420133e0 100644 --- a/taccsite_cms/contrib/bootstrap4_djangocms_link/cms_plugins.py +++ b/taccsite_cms/contrib/bootstrap4_djangocms_link/cms_plugins.py @@ -31,6 +31,7 @@ # SEE: https://github.com/django-cms/djangocms-bootstrap4/blob/master/djangocms_bootstrap4/contrib/bootstrap4_link/cms_plugins.py#L81 plugin_pool.register_plugin(LinkPlugin) +# To avoid server crash if Boostrap plugin is not registered # CAVEAT: If import statement fails for reason other than Bootstrap presence, # then that failure, and the failure of this plugin, is silent except ImportError: diff --git a/taccsite_cms/contrib/bootstrap4_djangocms_picture/cms_plugins.py b/taccsite_cms/contrib/bootstrap4_djangocms_picture/cms_plugins.py index e716afeee..0834c2a4d 100644 --- a/taccsite_cms/contrib/bootstrap4_djangocms_picture/cms_plugins.py +++ b/taccsite_cms/contrib/bootstrap4_djangocms_picture/cms_plugins.py @@ -10,6 +10,7 @@ # SEE: https://github.com/django-cms/djangocms-bootstrap4/blob/master/djangocms_bootstrap4/contrib/bootstrap4_picture/cms_plugins.py#L54 plugin_pool.register_plugin(PicturePlugin) +# To avoid server crash if Boostrap plugin is not registered # CAVEAT: If import statement fails for reason other than Bootstrap presence, # then that failure, and the failure of this plugin, is silent except ImportError: