﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
6920	FormWizard processing a DateField using SelectDateWidget results in hash mismatch	kgrandis	nobody	"!FormWizard seems to handle !DateFields just fine if you use the default text field widget. However, using !SelectDateWidget within the same !DateField causes the following error message: ""We apologize, but your form has expired. Please continue filling out the form from this page."" This message is generated when the hash codes for previously filled and validated form do not match the POSTed !HiddenInput hashes.

Could this have something to do with !SelectDateWidget returning a datetime.date, which is later rendered into a string?

Replication:
Follow Django's !FormWizard example ( http://www.djangoproject.com/documentation/form_wizard/ )

Modify !ContactForm1 to include an event_date. This works with the default !DateField
{{{
class ContactForm1(forms.Form):
    subject = forms.CharField(max_length=100)
    sender = forms.EmailField()
    event_date = forms.DateField()
}}}

Adding the !SelectDateWidget results in the hash mismatch after completing !ContactForm2.
{{{
class ContactForm1(forms.Form):
    subject = forms.CharField(max_length=100)
    sender = forms.EmailField()
    event_date = forms.DateField(widget=SelectDateWidget())
}}}"	Bug	closed	contrib.formtools	dev	Normal	wontfix	FormWizard,SelectDateWidget		Accepted	0	0	0	0	0	0
