Commit e5e51e7b authored by Daniel W Bond's avatar Daniel W Bond
Browse files

fieldset formatting places 'on_campus' attribute on same line as 'location'

parent 07c7342d
......@@ -13,6 +13,14 @@ class FacilityAdmin(admin.ModelAdmin):
model = Facility
list_display = ['name', 'location' ]
list_filter = ['facility_category', ]
fieldsets = (
(None, {
'fields': ('name', 'facility_category',
('location', 'on_campus'),
'main_schedule', 'special_schedules',
'owners'),
}),
)
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