holiday tweaks..
This commit is contained in:
parent
beaf759310
commit
1a02a9011c
|
@ -195,6 +195,7 @@ class DepotAdmin(admin.ModelAdmin):
|
||||||
|
|
||||||
class HolidayAdmin(admin.ModelAdmin):
|
class HolidayAdmin(admin.ModelAdmin):
|
||||||
list_display = ("date", "name","day","operating_schedule")
|
list_display = ("date", "name","day","operating_schedule")
|
||||||
|
list_editable = ("day","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