Skip to content

Commit

Permalink
fix: remove unnecessary static() call in Media class
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun authored Aug 20, 2024
1 parent 85aed25 commit ebf65f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions djangocms_text/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from django.core.serializers.json import DjangoJSONEncoder
from django.db import models
from django.template.loader import render_to_string
from django.templatetags.static import static
from django.utils.safestring import mark_safe
from django.utils.translation.trans_real import get_language, gettext

Expand Down Expand Up @@ -36,7 +35,7 @@ class Media:
js = (
static_with_version("cms/js/dist/bundle.admin.base.min.js"),
"djangocms_text/bundles/bundle.editor.min.js",
*(static(js) for js in rte_config.js),
*rte_config.js,
)

def __init__(
Expand Down

0 comments on commit ebf65f5

Please sign in to comment.