Skip to content

Commit

Permalink
Fix DEFAULT_THROTTLE_RATES section of the README
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpeterson committed Nov 11, 2014
1 parent 116ff93 commit 2a2952d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,12 @@ The default throttle rates are:
'logins': '10/hour'
'passwords': '3/hour'

You can customise the throttling rates by setting `DEFAULT_THROTTLE_RATES`
You can customise the throttling rates by setting `REST_FRAMEWORK.DEFAULT_THROTTLE_RATES`
in your `settings.py`:

DEFAULT_THROTTLE_RATES = {
'logins': '100/day',
'passwords': 100/day',
REST_FRAMEWORK = {
'DEFAULT_THROTTLE_RATES': {
'logins': '100/day',
'passwords': 100/day',
},
}

0 comments on commit 2a2952d

Please sign in to comment.