We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
STATIC_URL
1 parent 7db730b commit 6df8ae3Copy full SHA for 6df8ae3
djangocms_text/widgets.py
@@ -235,7 +235,7 @@ def get_global_settings(self, language):
235
return {
236
"add_plugin_url": admin_reverse(cms_placeholder_add_plugin),
237
"url_endpoint": self.url_endpoint or get_url_endpoint(),
238
- "static_url": settings.STATIC_URL + "djangocms_text",
+ "static_url": settings.STATIC_URL + "djangocms_text" if settings.STATIC_URL else "",
239
"lang": toolbar_setting,
240
"lang_alt": {
241
"toolbar": gettext("CMS Plugins"),
0 commit comments