Skip to content
Snippets Groups Projects
Commit 93f1b39b authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Merge branch 'improve-workerversion-admin' into 'master'

Set docker_image and revision as raw ID fields in WorkerVersion admin

Closes #956

See merge request !1631
parents 3f29af2e 53859452
No related branches found
No related tags found
1 merge request!1631Set docker_image and revision as raw ID fields in WorkerVersion admin
......@@ -110,6 +110,7 @@ class WorkerVersionAdmin(admin.ModelAdmin):
list_filter = ('worker', )
field = ('id', 'worker', 'revision', 'configuration')
readonly_fields = ('id', )
raw_id_fields = ('docker_image', 'revision')
class WorkerConfigurationAdmin(admin.ModelAdmin):
......
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