Skip to content

Commit

Permalink
Merge pull request #94 from planetterp/fix-merging-typo
Browse files Browse the repository at this point in the history
fix typo in query keyword
  • Loading branch information
tybug authored Feb 20, 2023
2 parents 4fe3fa0 + 01d9aca commit a19d9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home/views/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def post(self, request):

elif action_type is AdminAction.PROFESSOR_MERGE:
subject_id = request.POST['subject_id']
professors = Professor.unfiltered.exclude(staus=Professor.Status.REJECTED)
professors = Professor.unfiltered.exclude(status=Professor.Status.REJECTED)
merge_subject = professors.get(pk=subject_id)
form = ProfessorMergeForm(request, data=request.POST)

Expand Down

0 comments on commit a19d9b5

Please sign in to comment.