|
|
|
|
@ -21,6 +21,7 @@ class CustomUserAdmin(UserAdmin): |
|
|
|
|
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'] |
|
|
|
|
raw_id_fields = ['agents'] |
|
|
|
|
fieldsets = [ |
|
|
|
|
(None, {'fields': ['id', 'username', 'email', 'password', 'first_name', 'last_name', 'is_active', 'registration_payment_mode', |
|
|
|
|
'clubs', 'country', 'phone', 'licence_id', 'umpire_code', |
|
|
|
|
|