From fb738441d23ca3246db3e5fdb4c5f9b51c505eed Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 18 Feb 2022 15:35:03 -0500 Subject: [PATCH] [rentals] Show notes in changelist of LockerInfo --- rentals/admin.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rentals/admin.py b/rentals/admin.py index 17d7c5b..5fed375 100644 --- a/rentals/admin.py +++ b/rentals/admin.py @@ -29,7 +29,14 @@ class LockerUnitAdmin(admin.ModelAdmin): class LockerInfoAdmin(admin.ModelAdmin): search_fields = ["renter__username", "locker_unit__bank__name"] list_filter = ["locker_unit__bank", "locker_unit", "renter"] - list_display = ["locker_unit", "address", "blind_code", "bitting_code", "renter"] + list_display = [ + "locker_unit", + "address", + "blind_code", + "bitting_code", + "renter", + "notes", + ] list_display_links = ["locker_unit", "address"] list_editable = ["blind_code", "bitting_code"]