From 048353851949efb57bd27d695a662ff52f5449c0 Mon Sep 17 00:00:00 2001 From: Ali Maktabi Date: Sat, 21 Sep 2024 14:19:26 +0330 Subject: [PATCH] added farcaster admin conenction --- authentication/admin.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/authentication/admin.py b/authentication/admin.py index 2a96c4b..f6d1871 100644 --- a/authentication/admin.py +++ b/authentication/admin.py @@ -7,6 +7,7 @@ TwitterConnection, UserProfile, Wallet, + FarcasterConnection, ) @@ -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)