Skip to content

Commit

Permalink
Improve Stripe Charge admin
Browse files Browse the repository at this point in the history
  • Loading branch information
poxip committed Jul 2, 2019
1 parent bda97c2 commit 4e835b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aa_stripe/admin.py
Expand Up @@ -44,7 +44,9 @@ class StripeCustomerAdmin(ReadOnly):


class StripeChargeAdmin(ReadOnly):
list_display = ("id", "user", "customer", "created", "updated", "object_id", "is_charged", "amount")
search_fields = ("user__email",)
list_display = ("id", "user", "created", "updated", "object_id", "is_charged", "amount")
list_filter = ("created", "updated", "is_charged")
ordering = ("-created",)


Expand Down

0 comments on commit 4e835b8

Please sign in to comment.