{% extends 'generic/_base.html' %} {% load i18n %} {% load form_helpers %} {% block title %}{% trans "Import Transform Maps" %}{% endblock %} {% block content %}
{% trans "Import Transform Maps from JSON" %}

{% blocktrans trimmed %} Upload a JSON file that was previously exported from this plugin. All transform maps, field maps, and relationship maps contained in the file will be created. Groups referenced in the file will be created automatically if they do not already exist. {% endblocktrans %}

{% blocktrans trimmed %} Import runs inside a single database transaction. If any entry conflicts with an existing map (same group + endpoint + target model), the entire import is rolled back and no changes are saved. {% endblocktrans %}

{% if form.non_field_errors %}
{% for error in form.non_field_errors %}

{{ error }}

{% endfor %}
{% endif %}
{% csrf_token %}
{% render_form form %}
{% trans "Cancel" %}
{% endblock %}