summaryrefslogtreecommitdiff
path: root/docs/newforms.txt
AgeCommit message (Collapse)Author
2008-07-21Refs #7864 -- Updates to documentation for the oldforms/newforms switch.Gary Wilson Jr
* Moved forms.txt to oldforms.txt * Moved newforms.txt to forms.txt * Updated links and most references to "newforms" (there are a few sections that need a more significant rewrite). git-svn-id: http://code.djangoproject.com/svn/django/trunk@8020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19Fixed #7832 -- Corrected a formatting error in the newforms docs. Thanks to ↵Russell Keith-Magee
omat@gezgin.com for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19Fixed #4412 -- Added support for optgroups, both in the model when defining ↵Russell Keith-Magee
choices, and in the form field and widgets when the optgroups are displayed. Thanks to Matt McClanahan <cardinal@dodds.net>, Tai Lee <real.human@mrmachine.net> and SmileyChris for their contributions at various stages in the life of this ticket. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-18Merged the newforms-admin branch into trunk.Brian Rosner
This is a backward incompatible change. The admin contrib app has been refactored. The newforms module has several improvements including FormSets and Media definitions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-07Fixed #7614: the quickening has come, and there now is only one ↵Jacob Kaplan-Moss
UploadedFile. On top of that, UploadedFile's interface has been improved: * The API now more closely matches a proper file API. This unfortunately means a few backwards-incompatible renamings; see BackwardsIncompatibleChanges. This refs #7593. * While we were at it, renamed chunk() to chunks() to clarify that it's an iterator. * Temporary uploaded files now property use the tempfile library behind the scenes which should ensure better cleanup of tempfiles (refs #7593 again). Thanks to Mike Axiak for the bulk of this patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-06Fixed #7630 -- Slight tweak to the custom form widget exampleto avoid anyMalcolm Tredinnick
confusion. Based on a patch from Christian Tanzer. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-05Fixed #7626 -- Fixed a typo in the newforms docs.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-01Fixed #2070: refactored Django's file upload capabilities.Jacob Kaplan-Moss
A description of the new features can be found in the new [http://www.djangoproject.com/documentation/upload_handing/ upload handling documentation]; the executive summary is that Django will now happily handle uploads of large files without issues. This changes the representation of uploaded files from dictionaries to bona fide objects; see BackwardsIncompatibleChanges for details. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17Fixed #7200 -- Added newforms documentation for the FloatField. Thanks, ↵Russell Keith-Magee
George Vilches. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-08Another typo in docs/newforms.txtJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-08Fix a minor typo in docs/newforms.txtJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-30Remove an extraneous comma that I left behind in [7386], and clean up the ↵James Bennett
wording a bit more. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-30Clean up some awkwardness and confusion in the docs for ``ModelChoiceField``James Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7386 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-19Fixed #4620: you can now easily add custom labels to ModelChoiceFields via ↵Jacob Kaplan-Moss
subclassing. Thanks, PhiR. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7326 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-19Fixed #5894: added FilePathField to newforms. Thanks, Alex Gaynor.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18Fixed #6683: corrected some typos in docs/newforms.txt. Thanks PJCrosier for ↵James Bennett
the patch, and Atul Varma for spotting the errors. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18Fixed #6120: First stab at documenting newforms field types which handle ↵James Bennett
relationships. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-11Fixed #6757 -- Corrected typo in newforms docs. Thanks, Atul Varma ↵Russell Keith-Magee
<varmaa@gmail.com>. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-06Added a note that cleaned_data is new in the development release.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-11Fixed #6164 -- `field.label_tag` already displays the label so don't display ↵Gary Wilson Jr
it again. Thanks, arien. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02Fixed #6042 -- ModelForms implementation from Joseph Kocherhans. Still mightMalcolm Tredinnick
need a little tweaking as people start to use it, but this is mostly complete. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01Edited docs/newforms.txt changes from [6740]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01Edited docs/newforms.txt changes from [6733]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01Edited docs/newforms.txt changes from [6625]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30Edited docs/newforms.txt changes from [6532]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29Fixed #5854 -- Added an example to the newforms documentation showing how toMalcolm Tredinnick
highlight required fields (which should also provide enough clues for accessing other attributes on newforms.Field subclasses. Thanks, christobzr@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29Fixed #4653 -- Improved the logic to decide when to include (and select asMalcolm Tredinnick
initial value) the blank choice for a model field with choices. Thanks to Ilya Semenov for persisting with this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-28Fixed #3457 -- Allow overridding of error messages for newforms Fields.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21Changed the default form presentation of datetime values to not include theMalcolm Tredinnick
fractional second values (they usually aren't going to be needed). Based on patches from yi.codeplayer@gmail.com, andrews and Wiliam Alves de Souza. Fixed #4428, #4487 git-svn-id: http://code.djangoproject.com/svn/django/trunk@6578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Updated the new default value for BooleanFields, clarified the behaviour ofMalcolm Tredinnick
'required' for those fields and updated the examples to use required=False so that people get the hint. Refs #5104. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19Fixed #5666 -- Documented the `prefix` keyword argument for newforms.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6532 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-04Corrected broken link to newforms unit tests in docs/newforms.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-23Fixed #5364 -- Clarified the warning regarding saving form_for_model forms ↵Russell Keith-Magee
with missing fields. Thanks to PhilR for the initial draft. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16Fixed #4067 -- Fixed validation of IPAddressFields in newforms. Thanks to ↵Malcolm Tredinnick
neils and the team in the Copenhagen sprint group. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16Fixed #4975 -- Allow the default label suffix character to be configured. ↵Malcolm Tredinnick
Thanks, Vincent Foley. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Edited docs/newforms.txt changes from [6273]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5387 -- Added is_multipart method to forms. Original patch from Petr ↵Malcolm Tredinnick
Marhhoun. Tests and documentation from Murkt. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed #5464 -- Fixed typo in docs/newforms.txt. Thanks, ramiroAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed #3922 -- Added a warning that fields passed to form_for_model callback ↵Malcolm Tredinnick
function should not be modified. It's bad for your health. Thanks, Philippe Raoult. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13Fixed #4752 -- Make default ErrorList customisable in newforms display. ↵Malcolm Tredinnick
Based on a patch from michal@logix.cz and SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13Fixed #5397 -- Fixed typo in docs/newforms.txt example. Thanks, ↵Adrian Holovaty
zhaoz@u.washington.edu git-svn-id: http://code.djangoproject.com/svn/django/trunk@6124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25Fixed #5256 -- Fixed incorrect use of super() in docs/newforms.txt example. ↵Adrian Holovaty
Thanks, trey@ktrl.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@6003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20Fixed #4572 -- Added an example of form_for_instance usage in a full-fledged ↵Malcolm Tredinnick
view. Based on a patch from toddobryan@mac.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-18Fixed #5166 -- Fixed a validation problem in one of the examples. Thanks, ↵Malcolm Tredinnick
o.ekanem@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15Fixed #5158 -- Minor typo in newforms docs. Thanks, hayley ↵Russell Keith-Magee
<djangocode@vortex.cx>. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Added documentation for widgets in newforms.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11Fixed #4987 -- Added documentation for newforms.DecimalField. Based on a ↵Malcolm Tredinnick
patch from james_027@yahoo.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11Fixed #4762 -- Corrected an example. Thanks, Collin Grady and SmileyChris.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-07Fixed #5105 -- Fixed two ReST errors in docs/newforms.txt. Thanks, Ramiro ↵Adrian Holovaty
Morales git-svn-id: http://code.djangoproject.com/svn/django/trunk@5824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06Added note that FileField and ImageField are only in development version. ↵Russell Keith-Magee
There are also some minor backwards compatibility issues with the changes introduced in [5819] - see the wiki for details. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5820 bcc190cf-cafb-0310-a4f2-bffc1f526a37