Removed un-needed properties on script tags for JS imports.

Refactored sorting filters from class method into a model property with a default of an empty dictionary.
Refactored sortable admin class to not make two calls to determine sortability and also to get objects for sorting.
Added sorting_filters to sortable admin queryset.
This commit is contained in:
Brandon Taylor
2014-02-05 11:06:15 -05:00
parent e51f7535ca
commit 3970105ce5
10 changed files with 35 additions and 37 deletions
@@ -0,0 +1,9 @@
{% extends change_list_template_extends %}
{% load i18n %}
{% block object-tools-items %}
<li>
<a href="./sort/">{% trans 'Change Order of Board Members' %}</a>
</li>
{{ block.super }}
{% endblock %}