Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
barseghyanartur committed Jul 11, 2022
1 parent fb3f227 commit 1037d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fobi/views/class_based.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def get_queryset(self):
"""
queryset = FormEntry._default_manager.filter(
user__pk=self.request.user.pk
)
).select_related('user')
ordering = self.get_ordering()
if ordering:
if isinstance(ordering, str):
Expand Down

0 comments on commit 1037d94

Please sign in to comment.