Found the solution to display the audit fields in the change list and
change form -- add these lines in admin.py:

class Entity1Admin(AuditAdmin):
  list_display =
('title','created','created_by','updated','updated_by')
  readonly_fields = ('created','created_by','updated','updated_by')

So now I just need to figure out why "obj.updated_by = request.user"
stuffs the user ID instead of the user name, and this solution will be
good to go.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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