You can do a straight query of `Assessment` like: `Assessment.objects.filter(submission__uuid=submission_uuid, score_type="PE")` The double underscore means to do the join in the query.