mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-06-28 05:26:07 +00:00
Add is_admin field to User model and update related serializers and views
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m37s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m37s
This commit is contained in:
@ -13,6 +13,7 @@ class UserAdmin(BaseUserAdmin):
|
||||
"verified",
|
||||
"is_active",
|
||||
"is_staff",
|
||||
"is_admin",
|
||||
"mobile",
|
||||
"address",
|
||||
"wallet_balance",
|
||||
@ -40,6 +41,7 @@ class UserAdmin(BaseUserAdmin):
|
||||
"wallet_balance",
|
||||
"acc_no",
|
||||
"id_card",
|
||||
"is_admin",
|
||||
"dob",
|
||||
"atoll",
|
||||
"island",
|
||||
|
Reference in New Issue
Block a user