Skip to content

Commit

Permalink
Invalidate home page cache after blog post update
Browse files Browse the repository at this point in the history
  • Loading branch information
symroe committed Apr 30, 2020
1 parent e405737 commit 70e8882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion democracy_club/apps/core/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
def blog_url_invalidation_handler(sender, **kwargs):
instance = kwargs["instance"]
path = instance.get_absolute_url()
invalidate_paths([path, "/blog/"])
invalidate_paths([path, "/blog/", "/"])

0 comments on commit 70e8882

Please sign in to comment.