Skip to content

Commit

Permalink
added filter for beta testers and fixed permissions & groups editing
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Oppenheimer authored and Aaron Oppenheimer committed Jul 14, 2024
1 parent c8690c0 commit 437ba34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions member/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class MemberAdmin(BaseUserAdmin):
# that reference specific fields on auth.User.

list_display = ('email', 'username', 'nickname')
list_filter = ('status',)
list_filter = ('status','groups','is_beta_tester')
fieldsets = (
(None, {'fields': ('email', 'password')}),
('Personal info', {'fields': ('username','nickname','phone')}),
Expand Down Expand Up @@ -72,7 +72,7 @@ def get_inlines(self, request, obj):
)
search_fields = ('email',)
ordering = ('email',)
filter_horizontal = ()
filter_horizontal = ('groups','user_permissions',)

admin.site.register(MemberPreferences)
admin.site.register(Invite)

0 comments on commit 437ba34

Please sign in to comment.