Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Oct 11, 2024
1 parent 2d993ec commit 33bd08a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codeforlife/user/views/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_queryset(
):
# TODO: remove this in new schema and add to get_queryset
queryset = user_class.objects.filter(is_active=True)

user = self.request.auth_user
if user.student:
if user.student.class_field is None:
Expand Down

0 comments on commit 33bd08a

Please sign in to comment.