Re: Empty foreign keys in forms after Apache/PostgreSQL reset

2010-05-05 Thread Xanthus
On May 5, 7:54 am, Tom Evans <tevans...@googlemail.com> wrote: > On Wed, May 5, 2010 at 5:54 AM, Xanthus <marce...@gmail.com> wrote: > > Hi all. I will try do my best to explain my setup and the sequence of > > actions triggering the issue: > > > 1. Machine

Empty foreign keys in forms after Apache/PostgreSQL reset

2010-05-04 Thread Xanthus
Hi all. I will try do my best to explain my setup and the sequence of actions triggering the issue: 1. Machine starts and all is fine. 2. We do the following operations (through and automated script): a. stop Apache b. stop Postgresql c. drop database d. create database again e. restore database

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

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!