From: Harris Lapiroff Date: Mon, 18 Apr 2011 19:58:46 +0000 (-0400) Subject: Added sortable_field_name to the collection member inline for grappelli. X-Git-Tag: philo-0.9~14^2^2~2 X-Git-Url: http://git.ithinksw.org/philo.git/commitdiff_plain/852c72e59cb8720973a95ae9a6ac21c6db20ae5e Added sortable_field_name to the collection member inline for grappelli. --- diff --git a/admin/collections.py b/admin/collections.py index dfc4826..d422b74 100644 --- 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):