Skip to content

Commit

Permalink
Merge pull request #82 from bitcity/master
Browse files Browse the repository at this point in the history
Correct typo in Usage
  • Loading branch information
jsocol committed Sep 16, 2015
2 parents 0de7518 + 26ad4a2 commit 3850ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Examples

@ratelimit(key='post:username', rate='5/m', method=['GET', 'POST'])
def login(request):
# If the same username OR IP is used >5 times/min, this will be True.
# If the same username is used >5 times/min, this will be True.
# The `username` value will come from GET or POST, determined by the
# request method.
was_limited = getattr(request, 'limited', False)
Expand Down

0 comments on commit 3850ee2

Please sign in to comment.