Skip to content

Commit

Permalink
Fix (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jokeswar authored Jul 12, 2021
1 parent be60552 commit ce4eeb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def assignment_users_list(request, course_pk, assignment_pk):

@login_required
def subs_for_user(request, course_pk, assignment_pk, username):
user = User.objects.get(username=username)
user = get_object_or_404(User, username=username)
course = get_object_or_404(Course, pk=course_pk)
assignment = get_object_or_404(course.assignment_set, pk=assignment_pk)
submissions = (
Expand Down

0 comments on commit ce4eeb8

Please sign in to comment.