diff options
| author | Bo Peng | 2014-02-14 13:47:06 -0600 |
|---|---|---|
| committer | Bo Peng | 2014-02-14 13:47:06 -0600 |
| commit | 6f4c2c6f0536bdf596534c295e411e17be14aab7 (patch) | |
| tree | 4b1a3ca16bc37065ba921ee1e98206bf14860693 /docs | |
| parent | 895d660fdc423bf9bc6225eaedda32ef2fdf0b89 (diff) | |
| download | django-rest-framework-6f4c2c6f0536bdf596534c295e411e17be14aab7.tar.bz2 | |
Update throttling.md
Added comma to make DEFAULT_THROTTLE_CLASSES a tuple in example, for copy&paste to work nicely.
Diffstat (limited to 'docs')
| -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 fc1525df..b7c320f0 100644 --- a/docs/api-guide/throttling.md +++ b/docs/api-guide/throttling.md @@ -150,7 +150,7 @@ For example, given the following views... REST_FRAMEWORK = { 'DEFAULT_THROTTLE_CLASSES': ( - 'rest_framework.throttling.ScopedRateThrottle' + 'rest_framework.throttling.ScopedRateThrottle', ), 'DEFAULT_THROTTLE_RATES': { 'contacts': '1000/day', |
