Fixed #5917 -- More error robustness in date parsing in SelectDateWidget, plus
commitc8642d040143f322c4f1cbd9972482af531cc002
authormtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Thu, 20 Mar 2008 07:44:46 +0000 (20 07:44 +0000)
committermtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Thu, 20 Mar 2008 07:44:46 +0000 (20 07:44 +0000)
treeaa34c837317aafaaccf3d238088da5d989ee72d1
parent5c338948b5993632ce731fd5fdba51523b446e99
Fixed #5917 -- More error robustness in date parsing in SelectDateWidget, plus
keep the original date selected on redisplay, even if it was bogus (e.g. 31
Feb). Patch from SmileyChris.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7337 bcc190cf-cafb-0310-a4f2-bffc1f526a37
django/newforms/extras/widgets.py
tests/regressiontests/forms/extra.py