{% extends "base.html" %} {% load filter_tags %} {% load display_tags %} {% block content %} {{ block.super }}
| Timestamp | Label | Object | User | URL | IP Address | Data | Context | Object ID | Changes |
|---|---|---|---|---|---|---|---|---|---|
| {{ h.pgh_created_at }} | {{ h.pgh_label }} | {% if h.object_url %} {{ h.object_str|default:"N/A" }} {% else %} {{ h.object_str|default:"N/A" }} {% endif %} | {{ h.user|default:"N/A" }} | {% if h.url and h.url != "N/A" %} {{ h.url|truncatechars:50 }} {% else %} N/A {% endif %} | {{ h.remote_addr|default:"N/A" }} |
View{{ h.pgh_data|pprint|default:"N/A" }}
|
{% if h.pgh_context %}
View{{ h.pgh_context|pprint|default:"N/A" }}
|
{% if h.object_url and h.pgh_obj_id %} {{ h.pgh_obj_id }} {% else %} {{ h.pgh_obj_id|default:"N/A" }} {% endif %} |
{% if h.pgh_label == "initial_backfill" %}
Initial Backfill
{% elif h.pgh_diff %}
{% for field, values in h.pgh_diff.items %}
{% else %}
No Changes
{% endif %}
{{ field }}:
{% if values.0 is None %}
None
{% elif values.0 == "" %}
''
{% else %}
{{ values.0|truncatechars:50 }}
{% endif %}
to
{% if values.1 is None %}
None
{% elif values.1 == "" %}
''
{% else %}
{{ values.1|truncatechars:50 }}
{% endif %}
{% endfor %}
|
| Action | Actor | Date/Time | Changes |
|---|---|---|---|
| {{ h }} | {{ h.actor }} | {{ h.timestamp }} | {{ h.changes|action_log_entry|linebreaks}} |
No update history found for this object
{% endif %}