Skip to main content

admin.LogEntry

LogEntry(id, action_time, user, content_type, object_id, object_repr, action_flag, change_message)

Fields

Field Type Description
action_flag Positive small integer action flag
action_time Date (with time) action time
change_message Text change message
content_type ContentType

the related contenttypes.ContentType object

get_admin_url

Return the admin URL to edit the object represented by this log entry.

get_change_message

If self.change_message is a JSON structure, interpret it as a change string, properly translated.

get_edited_object

Return the edited object represented by this log entry.

id Integer ID
is_addition
is_change
is_deletion
object_id Text object id
object_repr String (up to 200) object repr
user User

the related auth.User object

‹ Back to Model documentation