Skip to content

Commit

Permalink
Merge pull request #631 from UnitapApp/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
alimaktabi authored Sep 21, 2024
2 parents 28e181a + 5d6778d commit d8dd018
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions authentication/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
TwitterConnection,
UserProfile,
Wallet,
FarcasterConnection,
)


Expand Down Expand Up @@ -53,9 +54,15 @@ class EnsConnectionAdmin(admin.ModelAdmin):
search_fields = ["user_profile__username", "user_wallet_address"]


class FarcasterConnectionAdmin(admin.ModelAdmin):
list_display = ["pk", "user_profile", "user_wallet_address"]
search_fields = ["user_profile__username", "user_wallet_address"]


admin.site.register(Wallet, WalletAdmin)
admin.site.register(UserProfile, ProfileAdmin)
admin.site.register(BrightIDConnection, BrightIDConnectionAdmin)
admin.site.register(GitcoinPassportConnection, GitcoinPassportConnectionAdmin)
admin.site.register(TwitterConnection, TwitterConnectionAdmin)
admin.site.register(ENSConnection, EnsConnectionAdmin)
admin.site.register(FarcasterConnection, FarcasterConnectionAdmin)

0 comments on commit d8dd018

Please sign in to comment.