holiday tweaks 3
This commit is contained in:
parent
6287dc430c
commit
3e5723d6f3
|
@ -195,7 +195,7 @@ class DepotAdmin(admin.ModelAdmin):
|
||||||
|
|
||||||
class HolidayAdmin(admin.ModelAdmin):
|
class HolidayAdmin(admin.ModelAdmin):
|
||||||
list_display = ("date", "name","operating_schedule")
|
list_display = ("date", "name","operating_schedule")
|
||||||
list_editable = ("operating_schedule")
|
list_editable = ("operating_schedule",)
|
||||||
readonly_fields = ("date", "name")
|
readonly_fields = ("date", "name")
|
||||||
search_fields = ("name", "date")
|
search_fields = ("name", "date")
|
||||||
formfield_overrides = {
|
formfield_overrides = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user