projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f17bb02
)
Ensure that the system information view is only cached for 2 minutes
author
Magnus Hagander
<magnus@hagander.net>
Thu, 17 Jun 2010 12:15:27 +0000
(14:15 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Thu, 17 Jun 2010 12:15:27 +0000
(14:15 +0200)
pgweb/core/views.py
patch
|
blob
|
blame
|
history
diff --git
a/pgweb/core/views.py
b/pgweb/core/views.py
index 970aaa3c1439da77489c0dbd29201329dc87624a..36dfaf29e6bebf12043acad70cf08143d24be6f5 100644
(file)
--- 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],