aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/throttling.md
diff options
context:
space:
mode:
authorTom Christie2012-09-14 12:43:14 +0100
committerTom Christie2012-09-14 12:43:14 +0100
commiteb761be9d058dbfb9214f200b941496524dc0ded (patch)
treecb88c5f39baaf2109c07edccbf48d89448ec1587 /docs/api-guide/throttling.md
parent886f8b47510c830483b5adae1855593cdc3df2dc (diff)
downloaddjango-rest-framework-eb761be9d058dbfb9214f200b941496524dc0ded.tar.bz2
Flesh out resources/routers part of tutorial
Diffstat (limited to 'docs/api-guide/throttling.md')
-rw-r--r--docs/api-guide/throttling.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/api-guide/throttling.md b/docs/api-guide/throttling.md
index d1e34dcd..10997801 100644
--- a/docs/api-guide/throttling.md
+++ b/docs/api-guide/throttling.md
@@ -76,7 +76,7 @@ The allowed request rate is determined from one of the following (in order of pr
## UserRateThrottle
-The `UserThrottle` will throttle users to a given rate of requests across the API. The user id is used to generate a unique key to throttle against. Unauthenticted requests will fall back to using the IP address of the incoming request is used to generate a unique key to throttle against.
+The `UserThrottle` will throttle users to a given rate of requests across the API. The user id is used to generate a unique key to throttle against. Unauthenticted requests will fall back to using the IP address of the incoming request to generate a unique key to throttle against.
The allowed request rate is determined from one of the following (in order of preference).
@@ -106,7 +106,7 @@ For example, multiple user throttle rates could be implemented by using the foll
}
}
-`UserThrottle` is suitable if you want a simple global rate restriction per-user.
+`UserThrottle` is suitable if you want simple global rate restrictions per-user.
## ScopedRateThrottle
@@ -124,7 +124,6 @@ For example, given the following views...
throttle_scope = 'contacts'
...
-
class UploadView(APIView):
throttle_scope = 'uploads'
...