Skip to content

Commit

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

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

0 comments on commit 544e2c0

Please sign in to comment.