{% extends "template.html" %} {% block content %}

Import data from CSV file

Available fields for model "{{model}}"
Data must be placed in CSV file, each record in single line. First line of the file must be header, containing column name.
{% for name,required,rel in fields %} {% endfor %}
NameRequiredReferences
{{name}} {{rel}}
{% csrf_token %} {{form.as_table}}
Upload CSV file
{% endblock%}