diff --git a/prizetap/admin.py b/prizetap/admin.py index 550d7b8d..3a1eddad 100644 --- a/prizetap/admin.py +++ b/prizetap/admin.py @@ -18,7 +18,16 @@ class RaffleŁEntryAdmin(admin.ModelAdmin): def get_wallet(self, obj): return obj.user_profile.wallets.get(wallet_type=NetworkTypes.EVM).address +class LineaRaffleEntriesAdmin(admin.ModelAdmin): + list_display = [ + "pk", + "wallet_address", + "is_winner" + ] + + admin.site.register(Raffle, RaffleAdmin) admin.site.register(RaffleEntry, RaffleŁEntryAdmin) admin.site.register(Constraint, UserConstraintBaseAdmin) +admin.site.register(LineaRaffleEntries, LineaRaffleEntriesAdmin)