summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2011-03-28 02:26:15 +0000
committerAdrian Holovaty <adrian@holovaty.com>2011-03-28 02:26:15 +0000
commita89ee065a157f9d31d6c02f10c5c46437c6cbf77 (patch)
tree177ec40cb4f23736c51d0fd125d1506ccaa20982
parent7cac1ecbd0f88825564f1e28901559c1b0aecb1a (diff)
Removed no-longer-valid comment about Python 2.3 and 2.4 in formtools/utils.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15931 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/formtools/utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/django/contrib/formtools/utils.py b/django/contrib/formtools/utils.py
index 974850dc6e..927f44bfb0 100644
--- a/django/contrib/formtools/utils.py
+++ b/django/contrib/formtools/utils.py
@@ -35,8 +35,7 @@ def security_hash(request, form, *args):
data.extend(args)
data.append(settings.SECRET_KEY)
- # Use HIGHEST_PROTOCOL because it's the most efficient. It requires
- # Python 2.3, but Django requires 2.4 anyway, so that's OK.
+ # Use HIGHEST_PROTOCOL because it's the most efficient.
pickled = pickle.dumps(data, pickle.HIGHEST_PROTOCOL)
return hashlib.md5(pickled).hexdigest()