mirror of
https://github.com/jazzband/django-admin-sortable.git
synced 2026-03-18 06:50:32 +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
|