Commit 07c7342d authored by Daniel W Bond's avatar Daniel W Bond
Browse files

filter facilities by category, display location on admin

parent 582e84ec
......@@ -10,7 +10,9 @@ class OpenTimeAdmin(admin.ModelAdmin):
class FacilityAdmin(admin.ModelAdmin):
model = Facility
list_display = ['name', 'location' ]
list_filter = ['facility_category', ]
class ScheduleAdmin(admin.ModelAdmin):
inlines = [OpenTimeInline, ]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment