0
0
mirror of https://github.com/django/django.git synced 2024-11-24 20:07:01 +01:00

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

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/",