Verified Commit de2277b9 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Add filter for member event permissions in admin

parent 44ca1d67
...@@ -102,7 +102,8 @@ class UserAdmin(BaseUserAdmin): ...@@ -102,7 +102,8 @@ class UserAdmin(BaseUserAdmin):
# https://docs.djangoproject.com/en/1.9/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_filter # https://docs.djangoproject.com/en/1.9/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_filter
list_filter = (MembershipTypeListFilter, list_filter = (MembershipTypeListFilter,
'is_superuser', 'is_superuser',
AgeListFilter,) AgeListFilter,
'member__event_permissions',)
add_fieldsets = ( add_fieldsets = (
(None, { (None, {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment