Skip to content

Commit

Permalink
Remove empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
4c0n committed Sep 20, 2023
1 parent 8be84cc commit dcfc8a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/signals/apps/search/rest_framework/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def _validate_ordering(self, ordering: list[str]) -> None:
if name not in self.ordering_fields:
raise ValidationError({'ordering': f"Cannot order by '{field}'!"})


def get_queryset(self, *args, **kwargs):
q = self.request.query_params.get('q', '')

Expand Down

0 comments on commit dcfc8a3

Please sign in to comment.