Skip to content
Snippets Groups Projects
Commit 892d6e82 authored by Valentin Rigal's avatar Valentin Rigal
Browse files

Edit worker version gpu usage in admin

parent 0c4b8393
No related branches found
No related tags found
1 merge request!2316Edit worker version gpu usage in admin
This commit is part of merge request !2316. Comments created here will be created in the context of that merge request.
......@@ -120,7 +120,7 @@ class WorkerTypeAdmin(admin.ModelAdmin):
class WorkerVersionAdmin(admin.ModelAdmin):
list_display = ("id", "worker", "revision", "version")
list_filter = ("worker", )
fields = ("id", "worker", "revision", "version", "configuration", "model_usage")
fields = ("id", "worker", "revision", "version", "configuration", "model_usage", "gpu_usage")
readonly_fields = ("id", )
raw_id_fields = ("docker_image", "revision")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment