update admin

This commit is contained in:
Gregory Trullemans 2022-10-12 13:12:25 +02:00
parent b200e2d3ed
commit e8d60fa368
1 changed files with 1 additions and 0 deletions

View File

@ -145,6 +145,7 @@ class HeightWeightAdmin(admin.ModelAdmin):
model = HeightWeight
list_display = ("gymnast", "height", "hips_height", "weight", "date")
readonly_fields = ('season', 'week_number')
list_filter = (
('gymnast', RelatedDropdownFilter),
)