Changeset 7277
- Timestamp:
- 03/17/08 19:17:59 (6 months ago)
- Files:
-
- django/trunk/django/contrib/formtools/preview.py (modified) (1 diff)
- django/trunk/django/contrib/formtools/wizard.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/contrib/formtools/preview.py
r7131 r7277 106 106 such as the IP address. 107 107 """ 108 data = [(bf.name, bf.data ) for bf in form] + [settings.SECRET_KEY]108 data = [(bf.name, bf.data or '') for bf in form] + [settings.SECRET_KEY] 109 109 # Use HIGHEST_PROTOCOL because it's the most efficient. It requires 110 110 # Python 2.3, but Django requires 2.3 anyway, so that's OK. django/trunk/django/contrib/formtools/wizard.py
r7263 r7277 147 147 such as the IP address. 148 148 """ 149 data = [(bf.name, bf.data ) for bf in form] + [settings.SECRET_KEY]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. … … 199 199 step0 -- The current step (zero-based). 200 200 step -- The current step (one-based). 201 step_count -- The total number of steps. 201 202 form -- The Form instance for the current step (either empty 202 203 or with errors).
