From eba4142960578521e02162e532536ab70328c0bb Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sat, 11 Feb 2023 14:29:15 +0000 Subject: [PATCH] Vary objects cache on user ID and object list --- mixins/templates/mixins/window-content/objects.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mixins/templates/mixins/window-content/objects.html b/mixins/templates/mixins/window-content/objects.html index 0595752..f5c7dc7 100644 --- a/mixins/templates/mixins/window-content/objects.html +++ b/mixins/templates/mixins/window-content/objects.html @@ -1,6 +1,6 @@ {% load cache %} -{% cache 60 object_list %} +{% cache 60 objects request.user.id object_list %} {% include 'mixins/partials/notify.html' %} {% if page_title is not None %}

{{ page_title }}