Skip to content
Snippets Groups Projects
Commit 53859452 authored by Eva Bardou's avatar Eva Bardou
Browse files

Set docker_image and revision as raw ID fields in WorkerVersion admin

parent 3f29af2e
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