add raw id field for agents

sync3
Laurent 5 months ago
parent 28f89d3ca8
commit 72b0281a07
  1. 1
      tournaments/admin.py

@ -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',

Loading…
Cancel
Save