git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated page admin/add form to use the same method for redirection as the 1.3 user...
[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')
classes = COLLAPSE_CLASSES
allow_add = True
fields = ('member_content_type', 'member_object_id', 'index')
+ sortable_field_name = 'index'
class CollectionAdmin(admin.ModelAdmin):
class CollectionAdmin(admin.ModelAdmin):