{% extends "admin/base_site.html" %} {% load i18n %} {% block title %}Import Form Definitions | {{ site_title|default:_('Django site admin') }}{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}

Import Form Definitions

Upload a JSON file exported from another instance, or paste the JSON directly below. Use Conflict mode to control what happens when a form with the same slug already exists.

Want to import directly from a live remote instance? ↓ Pull from Remote

{% if error %}

{{ error }}

{% endif %} {% if results %}

Import Results

Created: {{ counts.created }}  |  Updated: {{ counts.updated }}  |  Skipped: {{ counts.skipped }}

{% for form_obj, action in results %} {% endfor %}
Slug Name Action
{{ form_obj.slug }} {{ form_obj.name }} {% if action == "created" %} ✓ Created {% elif action == "updated" %} ↻ Updated {% else %} — Skipped {% endif %}

← Back to Form Definitions {% else %}
{% csrf_token %}

Upload a .json file exported from another instance.

Controls what happens when a form with the same slug already exists locally.

Cancel
{% endif %} {% endblock %}