diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-05-06 01:19:45 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-05-06 01:19:45 +0000 |
| commit | ee6d5521e94f8f94ad6e1e0f4eee94e2d4094350 (patch) | |
| tree | 028cb58f99f8bd02a11e014ae6fb479e9181f191 /docs/topics/forms | |
| parent | 84df3554d0a3d4d3373a8ccc8b9d412982ee6728 (diff) | |
Fixed #12691 -- Added a versionadded tag to the description of widget overrides in forms. Thanks to danielr for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics/forms')
| -rw-r--r-- | docs/topics/forms/modelforms.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt index 1e9c9db541..00ef5b4cb5 100644 --- a/docs/topics/forms/modelforms.txt +++ b/docs/topics/forms/modelforms.txt @@ -366,6 +366,9 @@ Since the Author model has only 3 fields, 'name', 'title', and Overriding the default field types or widgets --------------------------------------------- +.. versionadded:: 1.2 + The ``widgets`` attribute is new in Django 1.2. + The default field types, as described in the `Field types`_ table above, are sensible defaults. If you have a ``DateField`` in your model, chances are you'd want that to be represented as a ``DateField`` in your form. But |
