Skip to content
Snippets Groups Projects
Commit a4df184e authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Merge branch 'fix-stale-read-createclassifications' into 'master'

Fix stale read in CreateClassifications

Closes #508

See merge request !1046
parents 70805c95 6324550c
No related branches found
No related tags found
1 merge request!1046Fix stale read in CreateClassifications
......@@ -425,6 +425,7 @@ class ClassificationsSerializer(serializers.Serializer):
ml_classes = dict(
MLClass
.objects
.using('default')
.filter(corpus_id=parent.corpus_id, name__in=ml_class_names)
.values_list('name', 'id')
)
......
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