Наполнение план-графика
This commit is contained in:
1 parent
4ae64194ec
commit
e37a0090ae
2 files changed
+1
No files matched your search
BIN
Binary file not shown.
@@ -13,6 +13,7 @@ class PlanCalendarAdmin(admin.ModelAdmin):
|
|||||||
list_display = ('name', 'start_work_period', 'end_work_period')
|
list_display = ('name', 'start_work_period', 'end_work_period')
|
||||||
list_filter = ('start_work_period', 'end_work_period')
|
list_filter = ('start_work_period', 'end_work_period')
|
||||||
fields = ('name', 'start_work_period', 'end_work_period')
|
fields = ('name', 'start_work_period', 'end_work_period')
|
||||||
|
ordering = ('-start_work_period',)
|
||||||
|
|
||||||
|
|
||||||
admin.site.register(GeneralVacation, GeneralVacationAdmin),
|
admin.site.register(GeneralVacation, GeneralVacationAdmin),
|
||||||
|
|||||||
Reference in new issue
Block a user