minor doc fix, @api_view() needs an iterable

This commit is contained in:
Rob Terhaar 2014-08-06 18:55:08 -04:00
parent 5ba2962036
commit 3217842346

View File

@ -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 = {