Replace login_required decorator with a validating one
authorMagnus Hagander <magnus@hagander.net>
Mon, 23 May 2016 17:30:22 +0000 (19:30 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 24 May 2016 19:14:34 +0000 (21:14 +0200)
commit7fc34e9eafc34766ad34e8084ef0f89e6b2b4741
tree3aa767554362fa81fd0041df16990c715c551683
parent9bcaa6ab338dfce9559c0a78caf5d9647f70bba6
Replace login_required decorator with a validating one

This one will validate that the url is under /accounts/, which is
the only part we are going to be excluding from caching once we
move the website to https-only.
pgweb/account/views.py
pgweb/core/views.py
pgweb/docs/views.py
pgweb/downloads/views.py
pgweb/events/views.py
pgweb/misc/views.py
pgweb/news/views.py
pgweb/profserv/views.py
pgweb/util/decorators.py