Allow import/export of regions (#1347)

This commit is contained in:
Faidon Liambotis
2017-07-18 01:50:26 +03:00
parent 6a0a89ffc9
commit 21429c29ed
7 changed files with 49 additions and 1 deletions

View File

@@ -10,7 +10,12 @@
<span class="fa fa-plus" aria-hidden="true"></span>
Add a region
</a>
<a href="{% url 'dcim:region_import' %}" class="btn btn-info">
<span class="fa fa-download" aria-hidden="true"></span>
Import regions
</a>
{% endif %}
{% include 'inc/export_button.html' with obj_type='regions' %}
</div>
<h1>{{ block.title }}</h1>
<div class="row">