Merge branch 'razrab' into feature/create_app
This commit is contained in:
commit
2f8cd0c46e
3 files changed
+2
-1
No files matched your search
BIN
Binary file not shown.
@@ -86,7 +86,7 @@ export default {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
return {loging, menuGetUserDialog, onlineuser, checkremote,spravURL, whatuser, accountStore, gh}
|
return {loging, menuGetUserDialog, onlineuser, checkremote,spravURL, whatuser, accountStore}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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')
|
list_display=('get_name', 'user', 'planned_date', 'count_days', 'type_of_vacation', 'start_work_period', 'end_work_period')
|
||||||
readonly_fields=('get_name',)
|
readonly_fields=('get_name',)
|
||||||
def get_name(self, obj):
|
def get_name(self, obj):
|
||||||
|
|
||||||
print(obj.user.fio(), '----------------obj.user.fio()')
|
print(obj.user.fio(), '----------------obj.user.fio()')
|
||||||
return obj.user.fio()
|
return obj.user.fio()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user