37f91cce97
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.
11 lines
377 B
Plaintext
11 lines
377 B
Plaintext
(c) Copyright 2011 Brandon Taylor - bTaylorWeb
|
|
|
|
django-admin-sortable is free software: you can
|
|
redistribute it and/or modify it under
|
|
the terms of the Apache Public License v2.
|
|
|
|
django-admin-sortable is distributed in the hope
|
|
that it will be useful, but WITHOUT ANY
|
|
WARRANTY; without even the implied
|
|
warranty of MERCHANTABILITY or FITNESS
|
|
FOR A PARTICULAR PURPOSE. |