I understand that accessing ``request`` inside of a form's clean method, or in a model's save method is a bit of a "leaky abstraction", but it can be very useful in a number of cases. I've seen solutions which use ``threading.local`` in middleware to accomplish this, but the consensus seems to be, "avoid doing that", which finally leads me to my question: Does the core team intend on solving this issue, or should I be focused on trying to find a workaround for this? Also, do you have suggestions that might lead me (or somebody else) to write something that could eventually be put into Django's core? I believe Pylons uses a sort of thread local style proxy object. Is Django strongly opposed to this style?
-- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
