diff options
| author | Marko Tibold | 2012-10-21 16:34:07 +0200 | 
|---|---|---|
| committer | Marko Tibold | 2012-10-21 16:34:07 +0200 | 
| commit | 71a93930fd4df7a1f5f92c67633b813a26a5e938 (patch) | |
| tree | c82b5fdc3d69bc54aee06e506df7998e24db13e9 /rest_framework/throttling.py | |
| parent | efabd2bb1b762fbdee2b48fa3a6ccb8f23c7e8dc (diff) | |
| download | django-rest-framework-71a93930fd4df7a1f5f92c67633b813a26a5e938.tar.bz2 | |
Fixing spelling errors.
Diffstat (limited to 'rest_framework/throttling.py')
| -rw-r--r-- | rest_framework/throttling.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/rest_framework/throttling.py b/rest_framework/throttling.py index 6e7a0b72..6860e6b9 100644 --- a/rest_framework/throttling.py +++ b/rest_framework/throttling.py @@ -60,7 +60,7 @@ class SimpleRateThrottle(BaseThrottle):          Determine the string representation of the allowed request rate.          """          if not getattr(self, 'scope', None): -            msg = ("You must set either `.scope` or `.rate` for '%s' thottle" % +            msg = ("You must set either `.scope` or `.rate` for '%s' throttle" %                     self.__class__.__name__)              raise exceptions.ConfigurationError(msg) @@ -137,7 +137,7 @@ class AnonRateThrottle(SimpleRateThrottle):      """      Limits the rate of API calls that may be made by a anonymous users. -    The IP address of the request will be used as the unqiue cache key. +    The IP address of the request will be used as the unique cache key.      """      scope = 'anon' | 
