Refactored sorting_filters into a tuple and moved logic for retrieving sorting filters into the sort_view versus changelist_view.

Updated readme.
Updated sample project to leverage new sorting_filters on Person model and admin.
Removed custom change list template for Person admin.
This commit is contained in:
Brandon Taylor
2014-03-05 09:10:47 -05:00
parent af6c8f2e15
commit 80bdaafdc3
9 changed files with 70 additions and 51 deletions
@@ -1,9 +0,0 @@
{% 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 %}