Refactored how the sortable_by properties get populated by looping over the model fields until we get to the SortableForeignKey, then grabbing properties from the field and its related data. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| __init__.py | ||
| admin.py | ||
| models.py | ||
| tests.py | ||
Refactored how the sortable_by properties get populated by looping over the model fields until we get to the SortableForeignKey, then grabbing properties from the field and its related data. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| __init__.py | ||
| admin.py | ||
| models.py | ||
| tests.py | ||