Django
  • Django 中文文档
    • Getting help
    • 新手入门
    • 模型层(model)
    • 视图层(view)
    • 模板层(template)
    • 表单(Forms)
    • 开发流程
    • 管理
    • 安全
    • 国际化和本地化
    • Python的兼容性
    • 地理框架
    • 常用的web应用工具
    • 其他核心功能
    • Django 开源项目
  • 新手入门
    • 初探 Django
    • 快速安装指南
    • 编写你的第一个 Django 程序 第1部分
    • 编写你的第一个 Django 程序 第2部分
    • 编写你的第一个 Django 程序 第3部分
    • 编写你的第一个 Django 程序 第4部分
    • 编写你的第一个 Django 程序 第5部分
    • 进阶教程:如何编写可重用的应用程序
    • 下一步阅读什么
    • 为Django编写属于你的首个补丁
  • 使用 Django
    • 如何安装 Django
    • Models and databases
    • Handling HTTP requests
    • Working with forms
    • The Django template language
    • Class-based views
    • Managing files
    • Testing in Django
    • User authentication in Django
    • Django’s cache framework
    • Conditional View Processing
    • Cryptographic signing
    • Sending email
    • Internationalization and localization
    • Logging
    • Pagination
    • Porting to Python 3
    • Security in Django
    • Serializing Django objects
    • Django settings
    • Signals
  • “How-to” guides
    • Authentication using REMOTE_USER
    • Writing custom django-admin commands
    • Writing custom model fields
    • Custom template tags and filters
    • Writing a custom storage system
    • Deploying Django
    • Error reporting
    • Providing initial data for models
    • Running Django on Jython
    • Integrating Django with a legacy database
    • Outputting CSV with Django
    • Outputting PDFs with Django
    • Managing static files
  • Django FAQ
    • FAQ: General
    • FAQ: Installation
    • FAQ: Using Django
    • FAQ: Getting Help
    • FAQ: Databases and models
    • FAQ: The admin
    • FAQ: Contributing code
    • Troubleshooting
  • 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
    • 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
    • API stability
    • Design philosophies
    • Third-party distributions of Django
  • Glossary
  • Release notes
    • Final releases
    • Development releases
  • Django internals
    • Contributing to Django
    • Django committers
    • Django’s security policies
    • Django’s release process
    • Django Deprecation Timeline
    • The Django source code repository
 
Django
  • Docs »
  • 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 Dec 23, 2014.