From 4b1cd8edc10bb6c3da3a270180d028670a6f2110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Lazarevi=C4=87?= Date: Mon, 5 Feb 2024 13:25:44 +0100 Subject: [PATCH] Corrected cache_page()'s timeout value in tests.generic_views.urls. --- tests/generic_views/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generic_views/urls.py b/tests/generic_views/urls.py index 2d5301d15e..277b2c4c1b 100644 --- a/tests/generic_views/urls.py +++ b/tests/generic_views/urls.py @@ -27,7 +27,7 @@ urlpatterns = [ ), path( "template/cached//", - cache_page(2.0)(TemplateView.as_view(template_name="generic_views/about.html")), + cache_page(2)(TemplateView.as_view(template_name="generic_views/about.html")), ), path( "template/extra_context/",