Skip to content

Commit 68bb178

Browse files
author
Adrien Delhorme
committed
FIX: force placeholder cache clearing
when updating a PlaceholderField content
1 parent 8988f7f commit 68bb178

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ django CMS
66
This fork release/3.7.x branch includes
77
***************************************
88

9+
- FIX: force placeholder cache clearing (from branch:
10+
fix/placeholder-field-cache-clear)
911
- FIX: publishing static placeholders outside of CMS (from branch:
1012
fix/static-placeholder-publishing)
1113
- FEAT: redirect to login url on restricted pages (from branch:

cms/models/placeholdermodel.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,8 @@ def mark_as_dirty(self, language, clear_cache=True):
510510

511511
elif attached_model is StaticPlaceholder:
512512
StaticPlaceholder.objects.filter(draft=self).update(dirty=True)
513+
else:
514+
self.clear_cache(language)
513515

514516
def get_plugin_tree_order(self, language, parent_id=None):
515517
"""

0 commit comments

Comments
 (0)