aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/settings.md
diff options
context:
space:
mode:
authorTom Christie2013-12-13 00:02:18 +0000
committerTom Christie2013-12-13 00:02:18 +0000
commit83da4949c099fcf7e7636c98b9052b502e1bf74b (patch)
tree2bfd7d7d10268b7cdf15c48612dfa2dc8904f865 /docs/api-guide/settings.md
parentd6d4621c4580ae4902fc895bdca78aced0ec7eab (diff)
downloaddjango-rest-framework-83da4949c099fcf7e7636c98b9052b502e1bf74b.tar.bz2
Allow NUM_PROXIES=0 and include more docs
Diffstat (limited to 'docs/api-guide/settings.md')
-rw-r--r--docs/api-guide/settings.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/api-guide/settings.md b/docs/api-guide/settings.md
index 13f96f9a..d8c878ff 100644
--- a/docs/api-guide/settings.md
+++ b/docs/api-guide/settings.md
@@ -359,5 +359,11 @@ The name of a parameter in the URL conf that may be used to provide a format suf
Default: `'format'`
+#### NUM_PROXIES
+
+An integer of 0 or more, that may be used to specify the number of application proxies that the API runs behind. This allows throttling to more accurately identify client IP addresses. If set to `None` then less strict IP matching will be used by the throttle classes.
+
+Default: `None`
+
[cite]: http://www.python.org/dev/peps/pep-0020/
[strftime]: http://docs.python.org/2/library/time.html#time.strftime