Commit 4086e056 by Tom Christie

Merge pull request #1736 from robbyt/patch-2

minor doc fix, @api_view() needs an iterable
parents 5ba29620 32178423
......@@ -58,7 +58,7 @@ using the `APIView` class based views.
Or, if you're using the `@api_view` decorator with function based views.
@api_view('GET')
@api_view(['GET'])
@throttle_classes([UserRateThrottle])
def example_view(request, format=None):
content = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment