Hi,

On Wed, Jan 27, 2010 at 3:35 AM, Ian <spida...@gmail.com> wrote:
> How would you populate the created_by field with the username of the
> user logged into the admin interface? Capturing the created_at seems
> straight forward, you can override save like this

Take a look at the save_model method of a ModelAdmin derived class:
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#modeladmin-methods

Regards,
Eugene Wee

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to