diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2008-06-16 04:06:50 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2008-06-16 04:06:50 +0000 |
| commit | 260d3be69f992cdff40cb68d9673e2ff15600864 (patch) | |
| tree | ab2992e2602c729beea1893403157d6f498d2fbd | |
| parent | 3859314d4ac781cbe712d9bc7152c02a9396f9a2 (diff) | |
Fixed #7354 -- Fixed a Python 2.3 compatibility issue in formtools/wizard.py. Thanks, mage
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7657 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/formtools/wizard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/formtools/wizard.py b/django/contrib/formtools/wizard.py index a197c3e659..398de742ec 100644 --- a/django/contrib/formtools/wizard.py +++ b/django/contrib/formtools/wizard.py @@ -149,7 +149,7 @@ class FormWizard(object): data = [(bf.name, bf.data or '') for bf in form] + [settings.SECRET_KEY] # Use HIGHEST_PROTOCOL because it's the most efficient. It requires # Python 2.3, but Django requires 2.3 anyway, so that's OK. - pickled = pickle.dumps(data, protocol=pickle.HIGHEST_PROTOCOL) + pickled = pickle.dumps(data, pickle.HIGHEST_PROTOCOL) return md5.new(pickled).hexdigest() def determine_step(self, request, *args, **kwargs): |
