From 03892a5c41e3f4c8eb55bd02484c01d652918936 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Thu, 17 Jun 2010 14:15:27 +0200 Subject: [PATCH] Ensure that the system information view is only cached for 2 minutes --- pgweb/core/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pgweb/core/views.py b/pgweb/core/views.py index 970aaa3c..36dfaf29 100644 --- a/pgweb/core/views.py +++ b/pgweb/core/views.py @@ -93,6 +93,7 @@ def organisationform(request, itemid): }) # Basic information about the connection +@cache(minutes=2) def system_information(request): return render_to_response('core/system_information.html', { 'server': uname()[1], -- 2.39.5