|
|
|
|
@ -18,7 +18,7 @@ class CustomUserAdmin(UserAdmin): |
|
|
|
|
model = CustomUser |
|
|
|
|
search_fields = ['username', 'email', 'phone', 'first_name', 'last_name', 'licence_id'] |
|
|
|
|
|
|
|
|
|
list_display = ['email', 'first_name', 'last_name', 'username', 'registration_payment_mode', 'licence_id', 'date_joined', 'latest_event_club_name', 'is_active', 'event_count', 'origin'] |
|
|
|
|
list_display = ['email', 'first_name', 'last_name', 'username', 'date_joined', 'latest_event_club_name', 'is_active', 'event_count', 'origin', 'registration_payment_mode', 'licence_id'] |
|
|
|
|
list_filter = ['is_active', 'origin'] |
|
|
|
|
ordering = ['-date_joined'] |
|
|
|
|
fieldsets = [ |
|
|
|
|
|