Skip to content

Commit

Permalink
Merge pull request #630 from UnitapApp/feature/farcaster-admin-design
Browse files Browse the repository at this point in the history
added farcaster admin conenction
  • Loading branch information
alimaktabi authored Sep 21, 2024
2 parents f08c507 + 0483538 commit 5d6778d
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 5d6778d

Please sign in to comment.