{% extends "alloc/base.html" %} {% block title %}Import / export{% endblock %} {% block content %}

CSV import / export

Import

{% if errors %}
Nothing was imported.
{% endif %}
{% csrf_token %}

Rows are matched on their natural key and updated or created; a file with any bad row is rejected as a whole. Periods are created from the period column. Import in the order listed below.

Datasets

{% for d in datasets %}{% for k, h in headers.items %}{% if k == d %}{% endif %}{% endfor %}{% endfor %}
DatasetColumnsExport
{{ d }}{{ h|join:", " }}{{ d }}.csv
{% endblock %}