Skip to content

Commit

Permalink
Merge pull request #55 from incuna/readme-rate-limiting
Browse files Browse the repository at this point in the history
Be more explicit about available rate-limiting
  • Loading branch information
mattack108 committed Jun 20, 2014
2 parents ebb438a + d376cc1 commit 8c15f3b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,9 @@ The `/auth/` and `/auth/password_reset/` URLs are protected against throttling
using the built-in [DRF throttle module](http://www.django-rest-framework.org/api-guide/throttling).

You need to set the throttling rates in `DEFAULT_THROTTLE_RATES` setting for
`REST_FRAMEWORK` in your `settings.py`.
`REST_FRAMEWORK` in your `settings.py`:

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

0 comments on commit 8c15f3b

Please sign in to comment.