Ticket #12691: modelforms.diff
File modelforms.diff, 632 bytes (added by , 15 years ago) |
---|
-
docs/topics/forms/modelforms.txt
353 353 Overriding the default field types or widgets 354 354 --------------------------------------------- 355 355 356 .. versionadded:: 1.2 357 The ``widgets`` attribute is new in Django 1.2. 358 356 359 The default field types, as described in the `Field types`_ table above, are 357 360 sensible defaults. If you have a ``DateField`` in your model, chances are you'd 358 361 want that to be represented as a ``DateField`` in your form. But