{{ row.content_type }} |
{{ row.object_repr }}
|
{% if row.action == 0 %}
Created
{% elif row.action == 1 %}
Updated
{% elif row.action == 2 %}
Deleted
{% endif %}
|
{% if row.action == 1 %}
{% for key, value in row.changes_dict.items %}
{{ key }}:
{% if value.0 %}{{ value.0 }}{% else %} None {% endif %}
{% if value.1 %}{{ value.1 }}{% else %} None {% endif %}
{% endfor %}
{% endif %}
|
{{ row.actor }} |
{{ row.timestamp|date:'Y-m-d H:i:s' }} |
{% endfor %}