Docs4dev
Docs
Docs4dev
  • Tools
  • Privacy
  • GitHub

Search

Loading search index…

No recent searches

No results for "Query here"

  • to select
  • to navigate
  • to close

Search by FlexSearch

On this page

On this page
django / 2.0 / ref / forms / index.html

Forms

Detailed form API reference. For introductory material, see the Working with forms topic guide.

  • The Forms API
    • Bound and unbound forms
    • Using forms to validate data
    • Dynamic initial values
    • Checking which form data has changed
    • Accessing the fields from the form
    • Accessing “clean” data
    • Outputting forms as HTML
    • More granular output
    • Customizing BoundField
    • Binding uploaded files to a form
    • Subclassing forms
    • Prefixes for forms
  • Form fields
    • Core field arguments
    • Checking if the field data has changed
    • Built-in Field classes
    • Slightly complex built-in Field classes
    • Fields which handle relationships
    • Creating custom fields
  • Model Form Functions
    • modelform_factory
    • modelformset_factory
    • inlineformset_factory
  • Formset Functions
    • formset_factory
  • The form rendering API
    • The low-level render API
    • Built-in-template form renderers
    • Context available in widget templates
    • Overriding built-in widget templates
  • Widgets
    • Specifying widgets
    • Setting arguments for widgets
    • Widgets inheriting from the Select widget
    • Customizing widget instances
    • Base widget classes
    • Built-in widgets
  • Form and field validation
    • Raising ValidationError
    • Using validation in practice

© Django Software Foundation and individual contributors
Licensed under the BSD License.
https://docs.djangoproject.com/en/2.0/ref/forms/index/

  • Privacy Policy
  • 蜀ICP备14021783号-6
  • Brought to you by Docs4dev