user search field

This commit is contained in:
Parsa Nazer
2025-02-01 21:00:55 +03:30
parent 5e0e0cc9e0
commit bc1cdc1abd
+1 -1
View File
@@ -15,7 +15,7 @@ class UserAdmin(BaseUserAdmin, ModelAdmin, ImportExportModelAdmin):
filter_horizontal = []
ordering = []
list_filter = []
search_fields = ['phone', 'first_name', 'last_name', ]
list_display = ['phone', 'email', 'is_superuser']
readonly_fields = []