>anything you can do in Python you can do in Django
Thanks. Found it:
http://stackoverflow.com/questions/104983/what-is-thread-local-storage-in-python-and-why-do-i-need-it
threadlocal = threading.local()
--
You received this message because you are subscribed to the Google Groups
"Django users"
On Oct 18, 3:47 am, tinku99 wrote:
> Does django allow per thread variables ?
> Something like cherrypy's: cherrypy.thread_data (http://
> tools.cherrypy.org/wiki/Databases).
>
> I want to connect to use sqlite's fts3 module, so I need to write my
> own sql queries..
Does django allow per thread variables ?
Something like cherrypy's: cherrypy.thread_data (http://
tools.cherrypy.org/wiki/Databases).
I want to connect to use sqlite's fts3 module, so I need to write my
own sql queries...
--
You received this message because you are subscribed to
3 matches
Mail list logo