{% extends "flask_deck/base.html" %} {% block breadcrumbs %} / {{ view.plural_label }} / Dry-Run Import {% endblock %} {% block content %}
Every upload is validated inside a guaranteed-rollback SQLAlchemy SAVEPOINT before commit.
Mapped columns: {{ report.mapped_columns | length }} · Zero changes written to DB yet
| Row | Action | Key | Field-Level Diff / Diagnostics |
|---|---|---|---|
| #{{ row.row_number }} | {% if row.status == 'create' %} + INSERT {% elif row.status == 'update' %} ~ UPDATE {% elif row.status == 'error' %} ! ERROR {% else %} = UNCHANGED {% endif %} | {{ row.key_display }} |
{% if row.errors %}
{{ row.errors | join(" · ") }}
{% elif row.changes %}
{% for fname, pair in row.changes.items() %}
{% else %}
Identical to existing record
{% endif %}
{{ fname }}:
{% if pair[0] is not none %}{{ pair[0] }}→{% endif %}
{{ pair[1] }}
{% endfor %}
|