Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open
Commits
18eb0c18
Commit
18eb0c18
authored
Mar 23, 2017
by
Daniel W Bond
Browse files
move 'owner' field to collapsed 'advanced' section for facility
parent
ddee13ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
whats_open/website/admin.py
View file @
18eb0c18
...
...
@@ -16,10 +16,13 @@ class FacilityAdmin(admin.ModelAdmin):
fieldsets
=
(
(
None
,
{
'fields'
:
(
'name'
,
'facility_category'
,
(
'location'
,
'on_campus'
),
'main_schedule'
,
'special_schedules'
,
'owners'
),
}),
(
'location'
,
'on_campus'
),
'main_schedule'
,
'special_schedules'
,
),
}),
(
'Advanced'
,
{
'fields'
:
(
'owners'
,
),
'classes'
:
(
'collapse'
,
),
}),
)
class
ScheduleAdmin
(
admin
.
ModelAdmin
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment