This link has been bookmarked by 18 people . It was first bookmarked on 05 Aug 2006, by Ivica Munitic.
-
25 Mar 09
-
07 Jul 08
-
25 Jun 08
-
14 May 08
-
20 Mar 08
-
24 Jan 08
-
15 Aug 07
-
16 Jul 07
-
30 Jun 07
-
17 Jan 07
-
25 Dec 06
-
20 Dec 06
-
05 Aug 06
-
29 Jul 06
Ludovico Magnocavallo# cciw/middleware/threadlocals.py import threading _thread_locals = threading.local() def get_current_user(): return getattr(_thread_locals, 'user', None) class ThreadLocals(object): """Middleware that gets various objects from the request object and save
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.