3
Try querying for puzzle, instead of id, as ID will refer to the submission ID, instead of the puzzle id.
Submission.objects.filter(user = request.user, puzzle=puzzleID)
Source:stackexchange.com
3
Try querying for puzzle, instead of id, as ID will refer to the submission ID, instead of the puzzle id.
Submission.objects.filter(user = request.user, puzzle=puzzleID)