aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide
diff options
context:
space:
mode:
authorTom Christie2013-10-03 15:18:47 +0100
committerTom Christie2013-10-03 15:18:47 +0100
commitafc9e9e03868634c548178e6730a0f9964f398c0 (patch)
treeac12804aa0ef0cb73a4506177500d0596b2c883a /docs/api-guide
parentf6301636fb52dc6e02fd55e1c07c0be0a3b4ebfd (diff)
parent38049d11b63cdcc7f2a71ac51600182545912350 (diff)
downloaddjango-rest-framework-afc9e9e03868634c548178e6730a0f9964f398c0.tar.bz2
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
Diffstat (limited to 'docs/api-guide')
-rw-r--r--docs/api-guide/throttling.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/throttling.md b/docs/api-guide/throttling.md
index cc469217..fc1525df 100644
--- a/docs/api-guide/throttling.md
+++ b/docs/api-guide/throttling.md
@@ -59,7 +59,7 @@ using the `APIView` class based views.
Or, if you're using the `@api_view` decorator with function based views.
@api_view('GET')
- @throttle_classes(UserRateThrottle)
+ @throttle_classes([UserRateThrottle])
def example_view(request, format=None):
content = {
'status': 'request was permitted'