Re: Assigning default value for field in admin

2006-03-29 Thread Daniel Bimschas
Hey that looks great! Thanks a lot, it will do for my purposes! 2006/3/27, tonemcd <[EMAIL PROTECTED]>: > > This looks like it might help, > http://lukeplant.me.uk/blog.php?id=1107301634 although it's not exactly > what you're after... > > Cheers, > Tone > > > >

Re: Assigning default value for field in admin

2006-03-26 Thread tonemcd
This looks like it might help, http://lukeplant.me.uk/blog.php?id=1107301634 although it's not exactly what you're after... Cheers, Tone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Assigning default value for field in admin

2006-03-25 Thread Daniel Bimschas
Hmm, really seems to be a problem. Does anybody know if the _post_save()-method is called BEFORE or AFTER the data is written to the django_admin_log-table? You could solve this issue by querying the django_admin_log-table and receiving the newest entry for the newly created or updated

Re: Assigning default value for field in admin

2006-03-24 Thread arthur debert
If I read you right: http://www.djangoproject.com/documentation/faq/#how-do-i-automatically-set-a-field-s-value-to-the-user-who-last-edited-the-object-in-the-admin I've solved almost this problem in an app, but that's because I would get the user from the session cookie and put it on the request