{# @description One import error as a list item: the line number and message, the offending row, and for superusers the traceback. Reads the context variables `line`, `error` and `user`. #}
  • {% trans "Line" %} {{ line }} - {{ error.error }}
        {
        {% for key, value in error.row.items %}
            "{{ key }}": "{{ value }}"{% if not forloop.last %},{% endif %}
        {% endfor %}
        }
      
    {% if user.is_superuser %} {% trans "Traceback" %}:

    *This information is only available to superusers.

    {{ error.traceback|linebreaks }}
    {% endif %}