From b28057acd6a070addf922d72e6c8eba8db25ed37 Mon Sep 17 00:00:00 2001 From: Dhruv Shah Date: Fri, 29 Mar 2024 22:16:18 +0530 Subject: [PATCH] feat: add office location to user admin --- student_welfare_backend/student_welfare_backend/users/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/student_welfare_backend/student_welfare_backend/users/admin.py b/student_welfare_backend/student_welfare_backend/users/admin.py index 351e4a4..bbb4201 100644 --- a/student_welfare_backend/student_welfare_backend/users/admin.py +++ b/student_welfare_backend/student_welfare_backend/users/admin.py @@ -31,7 +31,7 @@ class UserAdmin(auth_admin.UserAdmin): add_form = UserAdminCreationForm fieldsets = ( (None, {"fields": ("username", "password", "verified")}), - (_("Personal info"), {"fields": ("name", "email", "phone_no")}), + (_("Personal info"), {"fields": ("name", "email", "phone_no", "office_location")}), ( _("Permissions"), {