Set the Docker artifact and the Git revision as raw ID fields in the Django admin
The WorkerVersion admin is quite slow because the docker_image
and revision
fields are loading every single Artifact and Revision in the DB. They do so in only one query each, but there are a lot of rows, even in preprod.