mirror of
https://github.com/jazzband/django-admin-sortable.git
synced 2026-04-02 06:00:43 +00:00
4 lines
95 B
Python
4 lines
95 B
Python
def get_is_sortable(objects):
|
|
if objects.count() > 1:
|
|
return True
|
|
return False
|