Ticket #12691: modelforms.diff

File modelforms.diff, 632 bytes (added by Daniel Roseman, 8 years ago)
  • docs/topics/forms/modelforms.txt

    353353Overriding the default field types or widgets
     356.. versionadded:: 1.2
     357   The ``widgets`` attribute is new in Django 1.2.
    356359The default field types, as described in the `Field types`_ table above, are
    357360sensible defaults. If you have a ``DateField`` in your model, chances are you'd
    358361want that to be represented as a ``DateField`` in your form. But
Back to Top