Skip to content

Commit ebf65f5

Browse files
authored
fix: remove unnecessary static() call in Media class
1 parent 85aed25 commit ebf65f5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

djangocms_text/widgets.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from django.core.serializers.json import DjangoJSONEncoder
99
from django.db import models
1010
from django.template.loader import render_to_string
11-
from django.templatetags.static import static
1211
from django.utils.safestring import mark_safe
1312
from django.utils.translation.trans_real import get_language, gettext
1413

@@ -36,7 +35,7 @@ class Media:
3635
js = (
3736
static_with_version("cms/js/dist/bundle.admin.base.min.js"),
3837
"djangocms_text/bundles/bundle.editor.min.js",
39-
*(static(js) for js in rte_config.js),
38+
*rte_config.js,
4039
)
4140

4241
def __init__(

0 commit comments

Comments
 (0)