diff options
| author | Tom Christie | 2014-08-07 00:10:51 +0100 |
|---|---|---|
| committer | Tom Christie | 2014-08-07 00:10:51 +0100 |
| commit | 4086e0562c104b758313fa9b8ac22ede3642a579 (patch) | |
| tree | 67af1d4c22e9bf61eb25c8ee78a381f4c57efc4d | |
| parent | 5ba29620368c02e3ff79b34c8da90604c7555715 (diff) | |
| parent | 3217842346cebda578e9398b89fe60fed7d1b2d8 (diff) | |
| download | django-rest-framework-4086e0562c104b758313fa9b8ac22ede3642a579.tar.bz2 | |
Merge pull request #1736 from robbyt/patch-2
minor doc fix, @api_view() needs an iterable
| -rw-r--r-- | docs/api-guide/throttling.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/throttling.md b/docs/api-guide/throttling.md index b7c320f0..92f4c22b 100644 --- a/docs/api-guide/throttling.md +++ b/docs/api-guide/throttling.md @@ -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 = { |
