Fix typo in list_filter

This commit is contained in:
James Polley 2018-01-15 06:35:52 +11:00
parent 0bc99d8fdb
commit 18fc3bd4a7

View file

@ -63,7 +63,7 @@ class SessionAdmin(admin.ModelAdmin):
model = Session,
filter_vertical=["slots"]
list_display=("day","start","end","room_names")
list__filter=("slot__slotroom__room","day")
list_filter=("slots__slotroom__room","day")
admin.site.register(Day)
admin.site.register(