Fix empty value detection in DateTimeField with SplitDateTimeWidget rendering
|Reported by:||Bastian Kleineidam <calvin@…>||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
when using a SplitDateTimeWidget for rendering, the empty value is [None, None].
I think this should be detected as an empty value.
Attached is a patch against the current Django 1.1 branch with test.
Change History (8)
Changed 6 years ago by Bastian Kleineidam <calvin@…>
comment:1 Changed 6 years ago by russellm
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted