Is it possible to access request.user from outside views? I have a receiver function that is connected to a request_finished signal, so that whenever a user logs in only products tagged with that username will be available. I'm using the satchmo simple demo and I have the function 'my_callback' defined in utils.py and the signal is registered in models.py, both located in localsite. Do I import the function and pass the username from the view, and then pass the query set on to the template?
Thanks, Jason --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Satchmo 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/satchmo-users?hl=en -~----------~----~----~----~------~----~------~--~---
