Django 中文手册
1.5
  • Django 中文文档
  • 新手入门
  • 使用 Django
  • “How-to” guides
  • Django FAQ
  • API 参考
    • Class-based views
    • Clickjacking Protection
    • contrib packages
    • Databases
    • django-admin.py and manage.py
    • Running management commands from your code
    • Django 异常
    • File handling
    • Forms
      • The Forms API
      • Form fields
      • Model Form Functions
      • Widgets
      • Form and field validation
    • Middleware
    • Models
    • Request and response objects
    • TemplateResponse and SimpleTemplateResponse
    • Settings
    • Signals
    • Templates
    • Unicode data
    • django.core.urlresolvers utility functions
    • django.conf.urls utility functions
    • Django Utils
    • Validators
  • Meta-documentation and miscellany
  • Glossary
  • Release notes
  • Django internals
Django 中文手册
  • — Django 中文手册 1.5 documentation »
  • API 参考 »
  • Forms
  • 在线手册中心

Forms¶

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

  • The Forms API
    • Bound and unbound forms
    • Using forms to validate data
    • Dynamic initial values
    • Accessing “clean” data
    • Outputting forms as HTML
    • Binding uploaded files to a form
    • Subclassing forms
    • Prefixes for forms
  • Form fields
    • Core field arguments
    • Built-in Field classes
    • Slightly complex built-in Field classes
    • Fields which handle relationships
    • Creating custom fields
  • Model Form Functions
  • 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
    • Form subclasses and modifying field errors
    • Using validation in practice

扫码关注,获取更多内容

Next Previous

© Copyright Django Software Foundation and contributors. Last updated on Oct 24, 2016.