Skip to content

Commit

Permalink
Fix PaymentMethodAdmin
Browse files Browse the repository at this point in the history
  • Loading branch information
jleclanche committed Apr 25, 2024
1 parent 3d31567 commit 8727894
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions djstripe/admin/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,8 +520,7 @@ def get_queryset(self, request):

@admin.register(models.PaymentMethod)
class PaymentMethodAdmin(StripeModelAdmin):
list_display = ("customer", "type", "billing_details")
list_filter = ("type",)
list_display = ("customer",)
search_fields = ("customer__id",)

def get_queryset(self, request):
Expand Down

0 comments on commit 8727894

Please sign in to comment.