Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Dec 10, 2024
1 parent f139f30 commit f3ecc14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangocms_text/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def render_dynamic_attributes(dyn_html: str, admin_objects: bool = False, remove
for elem in update_queue:
for attr, value in elem.attrib.items():
if attr in dynamic_attr_pool:
target_attr = attr[len(prefix) :]
target_attr = attr[len(prefix):]
try:
model, pk = value.rsplit(":", 1)
obj = from_db[model.strip()][int(pk.strip())]
Expand Down

0 comments on commit f3ecc14

Please sign in to comment.