[rentals] Show notes in changelist of LockerInfo
This commit is contained in:
parent
6326972b8f
commit
fb738441d2
@ -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"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user