Skip to content

Commit

Permalink
Update djangocms_versioning/models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun authored Jan 27, 2025
1 parent c13f8ac commit 2d8cc0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangocms_versioning/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_for_content(self, content_object):
version = self.get(
object_id=content_object.pk, content_type__in=versionable.content_types
)
version._state.fields_cache['content'] = content_object
version._state.fields_cache["content"] = content_object
content_object._version_cache = version
return version

Expand Down

0 comments on commit 2d8cc0c

Please sign in to comment.