From e985ed51306baf8bd553c0b10c1b874c9c05f0d5 Mon Sep 17 00:00:00 2001 From: James Smith Date: Sat, 23 Apr 2022 00:25:14 +0100 Subject: [PATCH] enable cache invalidation for testing --- judgments/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/judgments/views.py b/judgments/views.py index 25bb92d68..8b1283fb2 100644 --- a/judgments/views.py +++ b/judgments/views.py @@ -151,7 +151,7 @@ def update(request): "error" ] = "The Judgment is missing correct metadata structure and cannot be edited" - # invalidate_caches(judgment_uri) + invalidate_caches(judgment_uri) template = loader.get_template("judgment/edit.html") return HttpResponse(template.render({"context": context}, request))