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:
parent
d70b79c6b9
commit
4b1cd8edc1
@ -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/",
|
||||
|
Loading…
Reference in New Issue
Block a user