summaryrefslogtreecommitdiff
path: root/tests/regressiontests/forms
AgeCommit message (Collapse)Author
2011-02-21[1.2.X] Fixed #15349 - Bound FormSet produces bound empty_formLuke Plant
Thanks to hidde-jan for the report and patch. Backport of [15614] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-15[1.2.X] Moved the test added in r15511 to a different test where it doesn't ↵Jannis Leidel
actually verify the existence of the URL by calling urlopen but only validates it. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12[1.2.X] Fixed #14941 -- Stop raising ValidationError in form fields that use ↵Jannis Leidel
the URLValidator and get a IDN domain passed. Thanks, Claude Paroz. Backport from trunk (r15504). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12[1.2.X] Fixed #12988 -- Extended regular expression of the URLValidator to ↵Jannis Leidel
fully support IDN-URLs, especially the long TLDs. Backport from trunk (r15502). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15509 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-08[1.2.X] Fixed #15175 -- Ensured that Chliean RUT checksum letters aren't ↵Russell Keith-Magee
case sensitive. Thanks to rvimer for the report, and to ersame for the patch. H: Enter commit message. Lines beginning with 'HG:' are removed. Backport of r15450 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-05[1.2.X] Fixed #15226 - Made SelectDateWidget render the label tag associated ↵Ramiro Morales
with the correct dropdown sub-widget when USE_L10N is active and non-English locale is in use. Backport of [15427] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15428 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-05[1.2.X] Fixed #13968 -- Fixed SelectDateWidget processing of an invalid date ↵Ramiro Morales
input value when USE_L10N is on, for consistency with its behavior when USE_L10N=False (now the form field reports the validation error in both cases). Thanks mitar for the report. Backport of [15416] from trunk git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15417 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-13[1.2.X] Fixed #13631 -- Made sure that max_length and min_length are ↵Russell Keith-Magee
retained as attributes on form fields. Thanks to mila for the report. Backport of r15194 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-08Fixed #12295 -- Issue had already been fixed, but added test. Thanks ↵Andrew Godwin
tomevans222 and dpn. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27[1.2.X] Converted the Czech localflavor tests to be unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit. Partial backport of [15062]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26[1.2.X] Converted Swedish localflavor tests from doctests to unittests. ↵Jannis Leidel
Thanks, Idan Gazit! Backport from trunk (r15057). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-19[1.2.X] Fixed a Python 2.5 syntax error. Backport of [14983].Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Fixed #14871, #14872 -- ZAIDField didn't handle alll EMPTY_VALUES ↵Alex Gaynor
correctly and ZAPostCodeField didn't respect *args or **kwargs (such as required=False). Also converted South African localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14956]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Uruguayan localflavor doctests into unittests. We have ↵Alex Gaynor
alwyas been at war with doctests. Thanks to Idan Gazit. Backport of [14955]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted United States localflavor doctests into unittests. We ↵Alex Gaynor
have always been at war with doctests. Thanks to Idan Gazit. Backport of [14954]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted United Kingdom localflavor doctests into unittests. We ↵Alex Gaynor
have always been at war with doctests. Thanks to Idan Gazit. Backport of [14953]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Slovak localflavor doctests into unitttests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit. Backport of [14952]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Fixed #14864, #14864 -- ROCIFField didn't accept values starting ↵Alex Gaynor
with RO, as it was supposed to, and ROCNPField, ROIBANField, and ROPhoneNumberField didn't handle all EMPTY_VALUES correctly. Also converted Romanian localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14951]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Portuguese localflavor doctests into unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit. Backport of [14950]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Fixed #14860 -- PLPESELField, PLNIPField, and PLREGONField didn't ↵Alex Gaynor
handle all EMPTY_VALUES correctly. Also converted teh Polish localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14949]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Dutch localflavor doctests to unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. Backport of [14948]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Kuwaiti localflavor doctests to unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. Backport of [14947]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Japanese localflavor doctests to unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit. Backport of [14946]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Fixed #14859 -- ITSocialSecurityNumberField and ITVatNumberField ↵Alex Gaynor
didn't handle all EMPTY_VALUES gracefully. Also converted the Italias localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14945]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Icelandic localflavor doctests to unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit. Backport of [14944]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Irish localflavor doctests to unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. Backport of [14942]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Indonesian localflavor doctests to unittests. We have ↵Alex Gaynor
always been a war with doctests. Thanks to Idan Gazit. Backport of [14941]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted generic localflavor doctests to unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. Backport of [14940]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14965 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted French localflavor doctests into unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit. Backport of [14939]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Finnish localflavor doctests to unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. Backport of [14938]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14963 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Spanish localflavor doctests to unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. Backport of [14937]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14962 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Chilean localflavor doctests to unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. Backport of [14936]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Swiss localflavor doctests to unittests. Thanks to Idan ↵Alex Gaynor
Gazit for the patch. Backport of [14935]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Canadian localflavor doctests to unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit. Backport of [14934]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14959 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted the Brazillian localflavor doctests to unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit. Backport of [14933]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Australian localfavor doctests into unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit for the patch. Backport of [14931], git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13[1.2.X] Fixed #14158 -- Fixed SelectMultiple._has_changed to not assume same ↵Jannis Leidel
order of data anymore. Thanks, akaariai and dmoisset. Backport from trunk (r14887). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12[1.2.X] Fixed #14499 -- ATSocialSecurityNumberField now responds to all ↵Alex Gaynor
EMPTY_VALUES correctly. Also converted Austrian localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit for the patch. Backport of [14873]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12[1.2.X] Converted the Argentina localflavor doctests to unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit for the patch. Backport of [14872]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-02[1.2.X] Fixed broken German localflavor test introduced in r14627. Thanks ↵Jannis Leidel
for Rubber Ducking, Alex and Carl. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-21Fixes #13804 -- URLField validation failure for a url containing '://' on ↵Chris Beaven
the path and no scheme. Backport of r14657 git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20[1.2.X] Fixed poorly-constructed test from r14612. Thanks to Alex Gaynor for ↵Carl Meyer
the eagle eyes. Backport of r14635 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14636 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19Corrected some issues with the backport from [14627].Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19[1.2.X] Began converting localflavor doctests into unittests, starting with ↵Alex Gaynor
the German ones. Also introduced a new base class to facilitate ease of testing form fields. We have always been at war with doctests. Thanks to Idan Gazit for the patch. Backport of [14626]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-18[1.2.X] Fixed #14234 -- Re-validating a model instance added via ModelForm ↵Carl Meyer
no longer throws spurious PK uniqueness errors. Thanks to David Reynolds and Jeremy Dunck. Also moved Model._adding to Model._state.adding to reduce instance namespace footprint. Backport of r14612. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-16[1.2.X] Migrated forms (minus localflavor) doctests. A huge thanks to Daniel ↵Russell Keith-Magee
Lindsley for the patch. Backport of r14570 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10[1.2.X] Fixed #11907 -- EmailField now runs strip() on its input. This means ↵Chris Beaven
mistakenly including leading or trailing spaces will not cause a validation error, and clean() will remove those spaces. Thanks, krisneuharth and djansoft. Backport of [13997]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-11[1.2.X] Fixed #13390 -- `SplitDateTimeWidget` now recognizes when it's no ↵Justin Bronn
longer required. Thanks vaxXxa for bug report and patch. Backport of r13753 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10[1.2.X] Fixed #14247 - 'forms' test failure in 1.2.XLuke Plant
Thanks to ramiro/pmclanaham for the report and analysis. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-24[1.2.X] Fixed #14159 -- Corrected more potential uses of relative paths in ↵Russell Keith-Magee
tests. Thanks to Alex Gaynor for the patch. Backport of r13636 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13637 bcc190cf-cafb-0310-a4f2-bffc1f526a37