diff options
author | Dusty Phillips <buchuki@gmail.com> | 2008-10-12 01:52:51 +0200 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2008-10-12 01:52:51 +0200 |
commit | 5acf6c46f28446b91dbfd041960953f01f4ffe0d (patch) | |
tree | 8a8e63ba53231d3c41ac187446e9d740cd69b73a /main/middleware.py | |
parent | 7dedeeafd5b2e34f05bd75e548ca56942919c668 (diff) | |
download | archweb-5acf6c46f28446b91dbfd041960953f01f4ffe0d.tar.gz archweb-5acf6c46f28446b91dbfd041960953f01f4ffe0d.tar.xz |
separate copyrighted middleware from my additions
Diffstat (limited to 'main/middleware.py')
-rw-r--r-- | main/middleware.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/middleware.py b/main/middleware.py index df0a7a4..8f249c6 100644 --- a/main/middleware.py +++ b/main/middleware.py @@ -55,6 +55,8 @@ class RequireLoginMiddleware(object): user_holder = threading.local() user_holder.user = None +# END REQUIRE LOGIN MIDDLEWARE + class AutoUserMiddleware(object): '''Saves the current user so it can be retrieved by the admin''' def process_request(self, request): |