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. |
||
|---|---|---|
| .. | ||
| app | ||
| database | ||
| sample_project | ||
| templates/app/person/admin | ||
| manage.py | ||
| requirements.txt | ||