Browse files

Fixed #12691 -- Added a versionadded tag to the description of widget…

… overrides in forms. Thanks to danielr for the report.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 84df355 commit ee6d5521e94f8f94ad6e1e0f4eee94e2d4094350 @freakboy3742 freakboy3742 committed May 6, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 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

0 comments on commit ee6d552

Please sign in to comment.