Ticket #7354: 7354.diff
File 7354.diff, 739 bytes (added by , 16 years ago) |
---|
-
django_src/django/contrib/formtools/wizard.py
149 149 data = [(bf.name, bf.data or '') for bf in form] + [settings.SECRET_KEY] 150 150 # Use HIGHEST_PROTOCOL because it's the most efficient. It requires 151 151 # Python 2.3, but Django requires 2.3 anyway, so that's OK. 152 pickled = pickle.dumps(data, p rotocol=pickle.HIGHEST_PROTOCOL)152 pickled = pickle.dumps(data, pickle.HIGHEST_PROTOCOL) 153 153 return md5.new(pickled).hexdigest() 154 154 155 155 def determine_step(self, request, *args, **kwargs):