projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
048a17a
)
Wrong order of decorators
author
Magnus Hagander
<magnus@hagander.net>
Thu, 2 Jan 2014 11:04:54 +0000
(12:04 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Thu, 2 Jan 2014 11:04:54 +0000
(12:04 +0100)
We really need to clean the code up so this does not matter...
pgweb/core/views.py
patch
|
blob
|
blame
|
history
diff --git
a/pgweb/core/views.py
b/pgweb/core/views.py
index c04dffdb59114d63404175a0cc25fe1d6f0778b1..4f9c8ed91021843b6d36bd9ba15bddab25879fcd 100644
(file)
--- a/
pgweb/core/views.py
+++ b/
pgweb/core/views.py
@@
-173,8
+173,8
@@
_dynamic_cssmap = {
'../media/css/text.css',
'../media/css/docs.css'],
}
-@cache(hours=6)
@ssl_optional
+@cache(hours=6)
def dynamic_css(request, css):
if not _dynamic_cssmap.has_key(css):
raise Http404('CSS not found')