Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bitrut committed Apr 10, 2013
1 parent 40fc4d2 commit f251d84
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions oscar_approval/apps/approval/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ def get_queryset(self):
return qs

def get_base_query_set(self):
return self.model.objects.filter(
status=settings.OSCAR_LINE_APPROVAL_STATUS
) .select_related('product', 'order'
) .order_by('-order__date_placed')
return self.model.objects.filter(
status=settings.OSCAR_LINE_APPROVAL_STATUS) \
.select_related('product', 'order') \
.order_by('-order__date_placed')

def filter_by_text_query(self, query, qs):
qs = qs.filter(product__title__icontains=query)
Expand Down

0 comments on commit f251d84

Please sign in to comment.