git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added sortable_field_name to the collection member inline for grappelli.
[philo.git]
/
admin
/
collections.py
diff --git
a/admin/collections.py
b/admin/collections.py
index
dfc4826
..
d422b74
100644
(file)
--- a/
admin/collections.py
+++ b/
admin/collections.py
@@
-10,6
+10,7
@@
class CollectionMemberInline(admin.TabularInline):
classes = COLLAPSE_CLASSES
allow_add = True
fields = ('member_content_type', 'member_object_id', 'index')
+ sortable_field_name = 'index'
class CollectionAdmin(admin.ModelAdmin):