diff --git a/tests/generic_views/urls.py b/tests/generic_views/urls.py index 2d5301d15e3..277b2c4c1ba 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/",