mirror of
https://github.com/jazzband/django-admin-sortable.git
synced 2026-03-17 06:20:33 +00:00
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
No EOL
377 B
Text
11 lines
No EOL
377 B
Text
(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. |