Corrected cache_page()'s timeout value in tests.generic_views.urls.

This commit is contained in:
Alexander Lazarević 2024-02-05 13:25:44 +01:00 committed by Mariusz Felisiak
parent d70b79c6b9
commit 4b1cd8edc1
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ urlpatterns = [
),
path(
"template/cached/<foo>/",
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/",