mirror of
https://github.com/jazzband/django-admin-sortable.git
synced 2026-03-21 08:20:24 +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
|