Skip to content

Commit

Permalink
feat: include source as filter
Browse files Browse the repository at this point in the history
  • Loading branch information
erictheise committed May 12, 2020
1 parent 0150f2c commit b1e20ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class UserSocialNetworkInline(admin.TabularInline):
@admin.register(get_user_model())
class CustomUserAdmin(UserAdmin, OSMGeoAdmin):
list_display = ['username', 'first_name', 'middle_name', 'last_name', 'is_active', ]
list_filter = ['roles', 'is_active', 'is_staff', ]
list_filter = ['roles', 'source', 'is_active', 'is_staff', ]
UserAdmin.fieldsets = (
(None, {'fields': ('email', 'password')}),
('Personal info', {'fields': (
Expand Down

0 comments on commit b1e20ed

Please sign in to comment.