~ubuntu-branches/ubuntu/quantal/python-django/quantal-security

« back to all changes in this revision

Viewing changes to docs/ref/forms/fields.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-10-12 11:34:35 UTC
  • mfrom: (1.2.7 upstream)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: james.westby@ubuntu.com-20101012113435-9lnsrh0i3mxozbt0
Tags: upstream-1.2.3
ImportĀ upstreamĀ versionĀ 1.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.. _ref-forms-fields:
2
 
 
3
1
===========
4
2
Form fields
5
3
===========
192
190
.. attribute:: Field.widget
193
191
 
194
192
The ``widget`` argument lets you specify a ``Widget`` class to use when
195
 
rendering this ``Field``. See :ref:`ref-forms-widgets` for more information.
 
193
rendering this ``Field``. See :doc:`/ref/forms/widgets` for more information.
196
194
 
197
195
``help_text``
198
196
~~~~~~~~~~~~~
267
265
The ``validators`` argument lets you provide a list of validation functions
268
266
for this field.
269
267
 
270
 
See the :ref:`validators documentation <ref-validators>` for more information.
 
268
See the :doc:`validators documentation </ref/validators>` for more information.
271
269
 
272
270
``localize``
273
271
~~~~~~~~~~~~
516
514
    * Validates that non-empty file data has been bound to the form.
517
515
    * Error message keys: ``required``, ``invalid``, ``missing``, ``empty``
518
516
 
519
 
To learn more about the ``UploadedFile`` object, see the :ref:`file uploads
520
 
documentation <topics-http-file-uploads>`.
 
517
To learn more about the ``UploadedFile`` object, see the :doc:`file uploads
 
518
documentation </topics/http/file-uploads>`.
521
519
 
522
520
When you use a ``FileField`` in a form, you must also remember to
523
521
:ref:`bind the file data to the form <binding-uploaded-files>`.