Wrong order of decorators

We really need to clean the code up so this does not matter...
This commit is contained in:
Magnus Hagander
2014-01-02 12:04:54 +01:00
parent 048a17ae4b
commit c2b6d459e9

View File

@ -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')