Merge branch '12' into razrab

This commit is contained in:
iriska-gri committed 2023-10-10 13:22:53 +03:00
commit b59f3b5879
2 files changed
+1

No files matched your search

BIN
View File
Binary file not shown.
+1
View File
@@ -6,6 +6,7 @@ class GeneralVacationAdmin(admin.ModelAdmin):
list_display=('get_name', 'user', 'planned_date', 'count_days', 'type_of_vacation', 'start_work_period', 'end_work_period')
readonly_fields=('get_name',)
def get_name(self, obj):
print(obj.user.fio(), '----------------obj.user.fio()')
return obj.user.fio()