Merge branch '12' into razrab
This commit is contained in:
commit
b59f3b5879
2 files changed
+1
No files matched your search
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user