django1/django/contrib/formtools
Luke Plant c922a04675 Updated FormPreview to use form_hmac rather than the old security_hash function
This ought to have been done in [14218], but although the FormPreview class
was modified, and some tests were added, the crucial lines of code were not
changed (the 'FormPreview.security_hash' method), and tests for the new
behaviour were not added.  So it is being changed now.  Unlike some of the
other code in that changeset, this does not need to have a compatibility
fallback to cope with existing hashes, because the consequence of a failed
hash is minimal - the user is re-presented with the preview stage of the
form, which will then have a correct hash.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-30 17:35:01 +00:00
..
locale Pulled translation updates from Transifex again. 2011-03-20 22:16:14 +00:00
templates/formtools Fixed #9977 - CsrfMiddleware gets template tag added, session dependency removed, and turned on by default. 2009-10-26 23:23:07 +00:00
tests Updated FormPreview to use form_hmac rather than the old security_hash function 2011-03-30 17:35:01 +00:00
__init__.py Added django.contrib.formtools, including the forced-preview application 2006-12-05 20:51:25 +00:00
models.py Fixed #5441 -- Added tests for django.contrib.formtools. Thanks, simeon. 2007-11-29 16:32:23 +00:00
preview.py Updated FormPreview to use form_hmac rather than the old security_hash function 2011-03-30 17:35:01 +00:00
utils.py Removed no-longer-valid comment about Python 2.3 and 2.4 in formtools/utils.py 2011-03-28 02:26:15 +00:00
wizard.py Removed Django 1.2 compatibility fallback for form wizard hash 2011-03-30 17:34:49 +00:00