Kaydet (Commit) ee6d5521 authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

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

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
üst 84df3554
...@@ -366,6 +366,9 @@ Since the Author model has only 3 fields, 'name', 'title', and ...@@ -366,6 +366,9 @@ Since the Author model has only 3 fields, 'name', 'title', and
Overriding the default field types or widgets 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 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 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 want that to be represented as a ``DateField`` in your form. But
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment