Hi all,

  I'm using _thread_locals as in:
  http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser
  to keep track of the user that triggered operation in contexts where
  request.user is not available (eg: managers).

  I realize now that signal do not preserve it (I guess that are run in a
  different thread, correct?)

  Is there a way to tell the receiver of a signal who was the user that
  triggered the operation for which the signal was emitted?

  In particular, I send e-mail every time a ticket is opened, but would like
  to set the e-mail of the sender for a replay.

  Thanks

  sandro
  *:-)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to