Skip to content

Commit

Permalink
Merge pull request #132 from UnitapApp/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Inspector-Butters authored Sep 29, 2023
2 parents 8765031 + b7c1c8b commit 13b4dee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions authentication/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@

class ProfileAdmin(admin.ModelAdmin):
list_display = ["pk", "initial_context_id", "age"]
search_fields = ["initial_context_id", "user__token", "user__pk"]
search_fields = ["initial_context_id", "user__auth_token__key", "user__pk"]


class WalletAdmin(admin.ModelAdmin):
list_display = ["pk", "wallet_type", "user_profile"]
search_fields = [
"user_profile__initial_context_id",
"wallet_type",
"address",
"user_profile__pk",
"user_profile__user__token",
"user_profile__user__auth_token__key",
]


Expand Down

0 comments on commit 13b4dee

Please sign in to comment.