1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00: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( path(
"template/cached/<foo>/", "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( path(
"template/extra_context/", "template/extra_context/",