diff options
| author | Craig de Stigter | 2014-10-03 08:41:18 +1300 |
|---|---|---|
| committer | Craig de Stigter | 2014-10-03 08:41:18 +1300 |
| commit | dfab9af294972720f59890967cd9ae1a6c0796b6 (patch) | |
| tree | 587fb81fc26d401870f860afb400fa027441b403 /rest_framework/compat.py | |
| parent | ffc6aa3abcb0f823b43b63db1666913565e6f934 (diff) | |
| download | django-rest-framework-dfab9af294972720f59890967cd9ae1a6c0796b6.tar.bz2 | |
Minor: fix spelling and grammar, mostly in 3.0 announcement
Diffstat (limited to 'rest_framework/compat.py')
| -rw-r--r-- | rest_framework/compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/compat.py b/rest_framework/compat.py index 3993cee6..e4e69580 100644 --- a/rest_framework/compat.py +++ b/rest_framework/compat.py @@ -131,7 +131,7 @@ else: self.message = kwargs.pop('message', self.message) super(MaxValueValidator, self).__init__(*args, **kwargs) -# URLValidator only accept `message` in 1.6+ +# URLValidator only accepts `message` in 1.6+ if django.VERSION >= (1, 6): from django.core.validators import URLValidator else: |
