diff --git a/unisportomat/quiz/serializers.py b/unisportomat/quiz/serializers.py index 5577b3550130b5f1b90530e6c92431774be28f06..44c5393808a19926c9763f3714621d4092e34d79 100644 --- a/unisportomat/quiz/serializers.py +++ b/unisportomat/quiz/serializers.py @@ -191,6 +191,7 @@ class CriteriaSerializer(serializers.BaseSerializer): criterion_dict = {} criterion_dict["id"] = crit.pk + criterion_dict["question_id"] = crit.question.pk criterion_dict["name"] = crit.name criterion_dict["number_of_sports_active"] = active_sports criterion_dict["sum_of_weights"] = sum_of_weights