I created a MultiWidget, SelectDateTimeWidget, to allow date/time
input with select boxes.
I created a MultiValueField, SelectDateTimeField, to use this widget.
I created a ModelForm, SubmissionForm, that uses this field.

Here are the source files:
* widgets.py: http://dpaste.com/hold/202352/
* fields.py: http://dpaste.com/hold/202355/
* forms.py: http://dpaste.com/hold/202356/

The problem is that no matter what values I enter in the
MultiValueField, my form always gives a "This field is required."
error.

This is my first time writing a custom widget / field.  I couldn't
find any good documentation of he process, so it's mostly what I could
figure out from the Django source.

Can someone more knowledgeable with widgets and fields help me out?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to