{% extends "admin/base.html" %} {% block title %}Import {{ admin.plural_name | lower }}{% endblock %} {% block extra_css %}{% if busy %}{% if smooth_navigation %}{% endif %}{% endif %}{% endblock %} {% block content %}
Upload an XLSX, CSV or TSV file (UTF-8). Maximum {{ max_mb }} MB and {{ max_rows }} rows.
{% if modes %} {% else %}No import mode is available with your current permissions and model configuration.
{% endif %} {% else %}Mode: {{ session.mode }} · {{ session.total }} rows · {{ session.processed }} processed
{% if session.error %}Processing in the background. This page refreshes automatically. You can leave and return to this URL.
{% endif %} {% if session.status == 'setup' %} {% endif %} {% if session.status in ['mapping','review'] %} {% endif %} {% if session.status in ['review','completed','cancelled','failed'] %}| Source row | Action | {% for header in session.headers %}{{ header }} | {% endfor %}Errors |
|---|---|---|---|
| {{ row.number }} | {{ row.action }}{{ ' (applied)' if row.committed }} | {% for value in row.data %}{{ value if value is not none else '' }} | {% endfor %}{% for field,messages in row.errors.items() %}{{ field }}: {{ messages | join('; ') }} {% endfor %} |