Make use of horizontal filter fields in the admin

This commit is contained in:
2011-01-12 08:57:43 +00:00
parent c6f9782d6d
commit b5c970be39
2 changed files with 4 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ class SSOGroupInformationInline(admin.StackedInline):
fk_name = 'group'
max_num = 1
filter_horizontal = ('admins',)
# Define a new UserAdmin class
class SSOGroupAdmin(GroupAdmin):
inlines = [SSOGroupInformationInline, ]