Created
August 3, 2014 03:27
-
-
Save groovecoder/787de2c122e5f9ff1be3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BidViewSet(viewsets.ModelViewSet): | |
""" | |
API endpoint for bids. Users can create, update, retrieve, and delete | |
only their own bids. | |
url -- url of an OSS bug or issue | |
""" | |
model = Bid | |
serializer_class = BidSerializer | |
lookup_url_kwarg = 'url' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment