Re: Does a pre/post_save signal know who is the user currently logged in?

2007-07-19 Thread Xanthus
On 19 jul, 17:33, "Lic. José M. Rodriguez Bacallao" <[EMAIL PROTECTED]> wrote: > take a look at:http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser Great! It worked like a charm! Thanks very much José. --~--~-~--~~~---~--~~ You received this message

Re: Does a pre/post_save signal know who is the user currently logged in?

2007-07-19 Thread Lic. José M. Rodriguez Bacallao
take a look at: http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser On 7/19/07, James Bennett <[EMAIL PROTECTED]> wrote: > > > On 7/19/07, Xanthus <[EMAIL PROTECTED]> wrote: > > A view knows the logged in user through request.user but i could not > > find if a signal has this

Re: Does a pre/post_save signal know who is the user currently logged in?

2007-07-19 Thread Lic. José M. Rodriguez Bacallao
take a look at: http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser On 7/19/07, James Bennett <[EMAIL PROTECTED]> wrote: > > > On 7/19/07, Xanthus <[EMAIL PROTECTED]> wrote: > > A view knows the logged in user through request.user but i could not > > find if a signal has this

Re: Does a pre/post_save signal know who is the user currently logged in?

2007-07-19 Thread James Bennett
On 7/19/07, Xanthus <[EMAIL PROTECTED]> wrote: > A view knows the logged in user through request.user but i could not > find if a signal has this information somewhere. No, this information is not available in the default signals. This is because Django can be used completely independently of

Does a pre/post_save signal know who is the user currently logged in?

2007-07-19 Thread Xanthus
I'm implementing a model modification history and the only thing it is lacking is saving the user who did the modification. A view knows the logged in user through request.user but i could not find if a signal has this information somewhere. Thanks in advance!