mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #14537 -- Added documentation on where validators can be imported from to Validators Reference docs, and improved Sphinx formatting and metadata. Thanks to rfugger for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
e18f8b1d22
commit
d371142001
2 changed files with 64 additions and 52 deletions
|
@ -2,8 +2,14 @@
|
|||
Creating forms from models
|
||||
==========================
|
||||
|
||||
.. module:: django.forms.models
|
||||
:synopsis: ModelForm and ModelFormset.
|
||||
|
||||
.. currentmodule:: django.forms
|
||||
|
||||
``ModelForm``
|
||||
=============
|
||||
.. class:: ModelForm
|
||||
|
||||
If you're building a database-driven app, chances are you'll have forms that
|
||||
map closely to Django models. For instance, you might have a ``BlogComment``
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue