Re: user_id in admin pages

2008-12-10 Thread Django Newbie
Found it thanks. http://docs.djangoproject.com/en/dev/ref/contrib/admin/#modeladmin-methods James Bennett wrote: > On Wed, Dec 10, 2008 at 6:28 PM, Django Newbie <[EMAIL PROTECTED]> wrote: > >> This is probably an easy one, but I've tried what make sense to me with >> not success. What

Re: user_id in admin pages

2008-12-10 Thread James Bennett
On Wed, Dec 10, 2008 at 6:28 PM, Django Newbie <[EMAIL PROTECTED]> wrote: > This is probably an easy one, but I've tried what make sense to me with > not success. What I want to do is in my admin pages, use the User > module and enter the the user_id of whoever is logged in to add an entry > in o

user_id in admin pages

2008-12-10 Thread Django Newbie
This is probably an easy one, but I've tried what make sense to me with not success. What I want to do is in my admin pages, use the User module and enter the the user_id of whoever is logged in to add an entry in one of my foreign key tables. How can set a field equal to the user_id to be en