From 1c9bc936f63f851c0653ee98ebe0abc86a7a0728 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sat, 24 Aug 2024 09:09:09 -0700 Subject: [PATCH] Adds tests file --- bookwyrm/templates/settings/redis.html | 4 +- bookwyrm/tests/views/admin/test_redis.py | 51 ++++++++++++++++++++++++ bookwyrm/views/admin/redis.py | 2 - 3 files changed, 53 insertions(+), 4 deletions(-) create mode 100644 bookwyrm/tests/views/admin/test_redis.py diff --git a/bookwyrm/templates/settings/redis.html b/bookwyrm/templates/settings/redis.html index 7d740b025..391554498 100644 --- a/bookwyrm/templates/settings/redis.html +++ b/bookwyrm/templates/settings/redis.html @@ -56,7 +56,7 @@ {% endif %} {% else %} -
+ {% csrf_token %}