Browse Source

Added fields lastname and firstname to the admin user model

1Mike21 1 year ago
parent
commit
864b5dc8ef
1 changed files with 2 additions and 0 deletions
  1. 2 0
      SharixAdmin/admin.py

+ 2 - 0
SharixAdmin/admin.py

@@ -53,6 +53,8 @@ class SharixUserAdmin(adm.UserAdmin):
     list_display = (
         'username',
         'phone_number',
+        'first_name',
+        'last_name'
     )
     list_filter = (
         'last_login',