From 8f7b21d0defd93efd1cb3253ffea103b5c1505aa Mon Sep 17 00:00:00 2001 From: Razmig Sarkissian Date: Mon, 29 Sep 2025 15:22:53 +0200 Subject: [PATCH] Add 'creation_date' to CustomUserAdmin user fields --- tournaments/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tournaments/admin.py b/tournaments/admin.py index f89f97a..3f4235d 100644 --- a/tournaments/admin.py +++ b/tournaments/admin.py @@ -34,7 +34,7 @@ class CustomUserAdmin(UserAdmin): ordering = ['-date_joined'] raw_id_fields = ['supervisors', 'organizers'] fieldsets = [ - (None, {'fields': ['id', 'username', 'email', 'password', 'first_name', 'last_name', 'is_active']}), + (None, {'fields': ['id', 'username', 'email', 'password', 'first_name', 'last_name', 'is_active', 'creation_date']}), ('Permissions', {'fields': ['is_staff', 'is_superuser', 'groups', 'user_permissions']}), ('Personal Info', {'fields': ['registration_payment_mode', 'clubs', 'country', 'phone', 'licence_id', 'umpire_code']}), ('Tournament Settings', {'fields': [