external_bounties.router

Define dashboard specific DRF API routes.

Copyright (C) 2018 Gitcoin Core

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

ExternalBountySerializer

ExternalBountySerializer(self, instance=None, data=<class 'rest_framework.fields.empty'>, **kwargs)

Handle serializing the ExternalBounty object.

Meta

ExternalBountySerializer.Meta(self, /, *args, **kwargs)

Define the external bounty serializer metadata.

ExternalBountyViewSet

ExternalBountyViewSet(self, **kwargs)

Handle the Bounty view behavior.

filter_backends

Built-in immutable sequence.

If no argument is given, the constructor returns an empty tuple. If iterable is specified the tuple is initialized from iterable's items.

If the argument is a tuple, the return value is the same object.

queryset

Represent a lazy database lookup for a set of objects.

ExternalBountySerializer

ExternalBountyViewSet.ExternalBountySerializer(self, instance=None, data=<class 'rest_framework.fields.empty'>, **kwargs)

Handle serializing the ExternalBounty object.