Skip to content

Commit

Permalink
display donation id on admin
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlanglen committed May 3, 2024
1 parent 6d4e576 commit b05e457
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions donations/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@

@admin.register(Donation)
class DonationAdmin(admin.ModelAdmin):
list_display = [
field.name for field in Donation._meta.get_fields() if field.name != "id"
]
# list_display = [
# field.name for field in Donation._meta.get_fields() if field.name != "id"
# ]
list_display = ["__all__"]
list_display.extend(
[
"donor_address",
Expand Down

0 comments on commit b05e457

Please sign in to comment.