python - Can someone show me an example of how to use threadlocals in Django? - Stack Overflow

current community chat blog Stack Overflow Meta Stack Overflow Careers 2.0 Sign up or log in to customize your list. more stack exchange communities Stack Exchange sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site careers 2.0 Stack Overflow Questions Tags Tour Users Ask Question Take the 2-minute tour × Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required. Can someone show me an example of how to use threadlocals in Django? up vote 1 down vote favorite Essentially, I'm trying to access the current user in the models.py in one of my apps. ...

Linked on 2014-05-01 21:46:11 | Similar Links