summaryrefslogtreecommitdiff
path: root/django/forms/__init__.py
AgeCommit message (Collapse)Author
2010-01-05Merged soc2009/model-validation to trunk. Thanks, Honza!Joseph Kocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19Fixed #7741: django.newforms is now django.forms. This is obviously a ↵Jacob Kaplan-Moss
backwards-incompatible change. There's a warning upon import of django.newforms itself, but deeper imports will raise errors. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-22Changed django.forms to remove duplicate code and import from ↵Adrian Holovaty
django.oldforms instead git-svn-id: http://code.djangoproject.com/svn/django/trunk@4234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-06Fixed #2899: added defaults for data and error_dict params to FormWrapper. ↵Jacob Kaplan-Moss
Thanks, john@sneeu.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2300 -- Added required "value" attribute to CheckboxSelectMultipleFieldMalcolm Tredinnick
form field. Converted the submitted data for the same field back into something we can work with. Thanks, lerouxb@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-24Fixed #2727 -- Fixed problem with serialising error messages from validation.Malcolm Tredinnick
Thanks, Ivan Saglaev. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-23Fixed #2599 -- Fixed rendering problem in comma-separated integer fields.Malcolm Tredinnick
Thanks, Christopher Lenz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-23Fixed #2579 -- Fixed a problem with empty raw_id_admin form fields. Thanks toMalcolm Tredinnick
Brendan McAdams and zakj@nox.cx for some good diagnostic work on this one. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22Fixed #2760 -- Fixed validation of negative float amounts in forms. Thanks,Malcolm Tredinnick
James Bennett and Eddy Mulyono. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22Fixed #2685 -- Correctly process blank input for USStateField elements. Thanks,Malcolm Tredinnick
dackze+django@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3785 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22Fixed #2640 -- Allow is_required for CheckboxField classes (defaults to False,Malcolm Tredinnick
which was the previous behaviour). Thanks, torbjornthorsen@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3780 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-21Fixed #2761 -- Apply escaping to values in form checkbox attributes.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28Fixed #1767 -- boolean fields may now have validators! Thanks, Joseph.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-05Fixed #1980, #2155 -- made date, time and datetime html2python methods a bitMalcolm Tredinnick
more consistent in their return values. All three now return None when the passed in string cannot be converted to the required object (this is assumed elsewhere). git-svn-id: http://code.djangoproject.com/svn/django/trunk@3277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20Fixed #2190 -- Now allowing NullBooleanField to be given NoneAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19Fixed #1756 -- Permit selecting no file in a FilePathField with blank = True.Malcolm Tredinnick
Thanks to Adam Endicott for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08Fixed #2109 -- Convert old-style classes to new-style classes throughout ↵Adrian Holovaty
Django. Thanks, Nicola Larosa git-svn-id: http://code.djangoproject.com/svn/django/trunk@3113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08Fixed #2116 -- Added ul_class parameter to CheckboxSelectMultipleField. ↵Adrian Holovaty
Thanks, Jorge Gajon git-svn-id: http://code.djangoproject.com/svn/django/trunk@3110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-03Eliminated lots of mutable default arguments (since they are bugsLuke Plant
waiting to happen and are memory leaks too). git-svn-id: http://code.djangoproject.com/svn/django/trunk@3070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01Fixed #2045 - TypeError thrown if a form does not have the correct enctype ↵Luke Plant
for uploading files. It throws a ValidationError now, as it should. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31Fixed #2020 -- <option> values are now escaped in SelectMultipleFieldAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09Fixed #1477 -- Made maxlength overridablef for URLField formfieldAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly ↵Adrian Holovaty
backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37