aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/compat.py
diff options
context:
space:
mode:
authorCraig de Stigter2014-10-03 08:41:18 +1300
committerCraig de Stigter2014-10-03 08:41:18 +1300
commitdfab9af294972720f59890967cd9ae1a6c0796b6 (patch)
tree587fb81fc26d401870f860afb400fa027441b403 /rest_framework/compat.py
parentffc6aa3abcb0f823b43b63db1666913565e6f934 (diff)
downloaddjango-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.py2
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: