{% extends "base.html" %} {% block title %}Audit Entry #{{ entry.id }} — Admin{% endblock %} {% block content %} Back to Audit Log
Timestamp
{{ entry.timestamp.strftime('%Y-%m-%d %H:%M:%S') }}
Action
{{ entry.action }}
Model
{{ entry.model_name }}
Object ID
{{ entry.object_id }}
User
{{ entry.user_email or 'User #' + entry.user_id }}
{% if entry.ip_address %}
IP Address
{{ entry.ip_address }}
{% endif %} {% if entry.object_repr %}
Object Repr
{{ entry.object_repr }}
{% endif %}
{% if entry.changes %}

Changed Fields

{% for field, diff in entry.changes.items() %} {% endfor %}
Field Before After
{{ field }} {{ diff.before }} {{ diff.after }}
{% endif %} {% if entry.full_snapshot %}

Full Snapshot

{{ entry.full_snapshot | tojson(indent=2) }}
{% endif %} {% endblock %}