Skip to content

Commit

Permalink
[fix] Removed duplicate import/export buttons on device changelist
Browse files Browse the repository at this point in the history
  • Loading branch information
pandafy authored Jul 14, 2023
1 parent 89a501d commit 0d5de6e
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
{% load i18n admin_urls %}

{% block object-tools-items %}
{# django-import-export #}
{% include "admin/import_export/change_list_import_item.html" %}
{% include "admin/import_export/change_list_export_item.html" %}
{# django-reversion #}
{% if not is_popup and has_add_permission and has_change_permission %}
<li><a href="{% url opts|admin_urlname:'recoverlist' %}" class="recoverlink">{% blocktrans with cl.opts.verbose_name_plural|escape as name %}Recover deleted {{name}}{% endblocktrans %}</a></li>
{% endif %}
Expand Down

0 comments on commit 0d5de6e

Please sign in to comment.