summaryrefslogtreecommitdiff
path: root/docs/forms.txt
AgeCommit message (Collapse)Author
2008-08-23Massive reorganization of the docs. See the new docs online at ↵Jacob Kaplan-Moss
http://docs.djangoproject.com/. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15Fixed #8277: corrected minor typo in docs/forms.txt.James Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-10Fixed #7830 -- Removed all of the remaining, deprecated, non-oldforms features:Gary Wilson Jr
* Support for representing files as strings was removed. Use `django.core.files.base.ContentFile` instead. * Support for representing uploaded files as dictionaries was removed. Use `django.core.files.uploadedfile.SimpleUploadedFile` instead. * The `filename`, `file_name`, `file_size`, and `chuck` properties of `UploadedFile` were removed. Use the `name`, `name`, `size`, and `chunks` properties instead, respectively. * The `get_FIELD_filename`, `get_FIELD_url`, `get_FIELD_size`, and `save_FIELD_file` methods for Models with `FileField` fields were removed. Instead, use the `path`, `url`, and `size` attributes and `save` method on the field itself, respectively. * The `get_FIELD_width` and `get_FIELD_height` methods for Models with `ImageField` fields were removed. Use the `width` and `height` attributes on the field itself instead. * The dispatcher `connect`, `disconnect`, `send`, and `sendExact` functions were removed. Use the signal object's own `connect`, `disconnect`, `send`, and `send` methods instead, respectively. * The `form_for_model` and `form_for_instance` functions were removed. Use a `ModelForm` subclass instead. * Support for importing `django.newforms` was removed. Use `django.forms` instead. * Support for importing `django.utils.images` was removed. Use `django.core.files.images` instead. * Support for the `follow` argument in the `create_object` and `update_object` generic views was removed. Use the `django.forms` package and the new `form_class` argument instead. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-03Removed trailing whitespace.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27Normalized the use of "JavaScript" in the documentation.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22Fixed #7870 -- Fixed typo in docs/forms.txt. Bad form, whoever originally ↵Adrian Holovaty
wrote that git-svn-id: http://code.djangoproject.com/svn/django/trunk@8049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22Fixed #7841 -- Fixed typo in docs/forms.txt. Thanks, msaelicesAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22Fixed #7814 -- Fixed a number of style inconsistencies in the docs. Thanks, ↵Adrian Holovaty
uzi and programmerq git-svn-id: http://code.djangoproject.com/svn/django/trunk@8043 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21It's time for the "newforms" documentation to arrive:Gary Wilson Jr
* Removed the "more coming soon" section from bottom of "newforms" docs. * Removed note on "oldforms" docs that "we have begun to document" newforms. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21Fixed reST error in [8024].Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21Tweaked forms/oldforms docs to better represent the current state of things.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8024 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21Refs #7864 -- Corrected more instances of "newforms" in the docs.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
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
2007-08-05Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms ↵Gary Wilson Jr
`FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04Merged Unicode branch into trunk (r4952:5608). This should be fullyMalcolm Tredinnick
backwards compatible for all practical purposes. Fixed #2391, #2489, #2996, #3322, #3344, #3370, #3406, #3432, #3454, #3492, #3582, #3690, #3878, #3891, #3937, #4039, #4141, #4227, #4286, #4291, #4300, #4452, #4702 git-svn-id: http://code.djangoproject.com/svn/django/trunk@5609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21Fixed #2365, #3324 -- Renamed FloatField to DecimalField and changed the codeMalcolm Tredinnick
to return Decimal instances in Python for this field. Backwards incompatible change. Added a real FloatField (stores floats in the database) and support for FloatField and DecimalField in newforms (analogous to IntegerField). Included decimal.py module (as django.utils._decimal) from Python 2.4. This is license compatible with Django and included for Python 2.3 compatibility only. Large portions of this work are based on patches from Andy Durdin and Jorge Gajon. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27Fixed up some omissions and one mysteriously documented, yet non-existent fieldMalcolm Tredinnick
in the validator documentation. Patch from alang@bright-green.com. Refs #2266. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-24Fixed #4133 -- Fixed broken links in docs. Thanks, Gary WilsonAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01Fixed #2841 -- Clarified documentation on procedure for field validation. ↵Russell Keith-Magee
Thanks, dave@avaragado.org. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12Fixed #1049 -- Documented the need to implement flatten_data() in some cases ↵Malcolm Tredinnick
for custom ChangeManipulator replacements. Thanks, Michael Radziej. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-25Fixed #2104: allow somewhat nicer error messages in ↵Jacob Kaplan-Moss
RequiredIfOtherFieldEquals validator. Thanks, Steven Armstrong git-svn-id: http://code.djangoproject.com/svn/django/trunk@4577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-13Fixed #3005 -- Applied trivial docs patch for "oldforms" use of do_html2python.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-24Fixed #3333 -- Docs now use relative links, not hard-coded djangoproject.com ↵Adrian Holovaty
links. Thanks for the patch, SmileyChris git-svn-id: http://code.djangoproject.com/svn/django/trunk@4420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-15Copied django.forms to django.oldforms and changed all code to reference ↵Adrian Holovaty
django.oldforms instead of django.forms. Updated docs/forms.txt to add 'Forwards-compatibility' section that says you should not be using django.oldforms for any new projects. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Formatting fixes from the past round of checkinsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2364: added NumberIsInRange validator. Thanks, Matt McClanahan.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-23Fixed #2941 -- Fixed a typo pointed out by jeff@nokrev.com.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-23Fixed #2931 -- Use request.method == 'POST' where appropriate in the examples.Malcolm Tredinnick
Thanks, David Schein. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-29Fixed #2845 -- Corrected a few spelling errors in the docs and changed aMalcolm Tredinnick
couple of correctly spelt words to their North American counterparts for consistency. Thanks, treborhudson@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@3883 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25Formatting change to docs/forms.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25Proofread changes to docs/forms.txt from [3792]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22Documented the always_test attribute for validator functions.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-21Fixed #2769 -- Applied some ReST formatting fixes. Thanks, ramiro.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-14Updated documentation for ChangeManipulators to reflect use of ↵Russell Keith-Magee
flatten_data() rather than __dict__ to populate form data. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28Fixed ReST error in docs/forms.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28Small clarifications to docs/forms.txt change from [3466]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27Fixed #1653 -- added some documentation for FileFields/ImageFields. Thanks, ↵Jacob Kaplan-Moss
Asmodai. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-06Fixed small typo in docs/forms.txt. Thanks, Antonio CavedoniAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-14Fixed #2143 -- Changed a few places where the pre-magic-removal-merge syntaxMalcolm Tredinnick
was still being used in the docs. Thanks to mssnlayam@yahoo.com for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3125 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
2006-01-13Fixed #1211 -- Fixed tiny typo in docs/forms.txt. Thanks, paoloAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1943 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08Fixed #1189 -- Fixed typo in docs/forms.txt 'Place' model example. Thanks, ↵Adrian Holovaty
Brian Ray git-svn-id: http://code.djangoproject.com/svn/django/trunk@1865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-24Fixed #1111 -- Fixed bug in docs/forms.txt. Thanks, afarhhamAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1776 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22Fixed #876 -- Fixed typos in docs/forms.txt. Thanks, czhangAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16Fixed #808 -- Fixed typo in docs/forms.txt. Thanks, limodouAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14Fixed #626 -- Moved template modules to django.core.template package. ↵Adrian Holovaty
django.core.template_loader is deprecated, in favor of django.core.template.loader. git-svn-id: http://code.djangoproject.com/svn/django/trunk@867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02Fixed #448 -- Fixed bug in docs/forms.txt. Thanks, HugoAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-25Fixed #122 -- BIG, BACKWARDS-INCOMPATIBLE CHANGE. Changed model syntax to ↵Adrian Holovaty
use fieldname=FieldClass() syntax. See ModelSyntaxChangeInstructions for important information on how to change your models git-svn-id: http://code.djangoproject.com/svn/django/trunk@549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-23Fixed #406 -- Fixed small typo in docs/forms.txt. Thanks, Tom HaddonAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-25Copy-edited docs from [303] and [304]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@306 bcc190cf-cafb-0310-a4f2-bffc1f526a37