Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/status board #708

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from
Prev Previous commit
Next Next commit
no message
  • Loading branch information
cardene committed Aug 8, 2017
commit aabb219eeb7f4bf7a6b45bd377789f4651b1455c
2 changes: 1 addition & 1 deletion api/views/harvestlogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from share.models import HarvestLog
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import ordering from most broadly available to most specific:

  • built-ins
  • 3rd-party imports
  • 2nd-party imports
  • 1st-party imports

from api.views import ShareObjectViewSet

<<<<<<< HEAD

class SourceConfigFilterBackend(filters.BaseFilterBackend):
"""
Expand All @@ -22,6 +21,7 @@ def filter_queryset(self, request, queryset, view):
return queryset.filter(source_config_id=decoded)
if 'status' in request.GET:
return queryset.filter(status=request.GET['status'])

else:
return queryset

Expand Down