Changes between Version 6 and Version 7 of NewForms


Ignore:
Timestamp:
Jan 23, 2007, 3:30:09 AM (17 years ago)
Author:
jbowtie@…
Comment:

FIx formatting of Field.init widget parameter

Legend:

Unmodified
Added
Removed
Modified
  • NewForms

    v6 v7  
    2929
    3030 * ''required'' -- Boolean that specifies whether the field is required. `True` by default.
    31  * ''widget'' -- A Widget class, or instance of a Widget class, that should be used for this Field when displaying it. Each Field has a
    32  * ''default'' -- Widget that it'll use if you don't specify this. In most cases, the default widget is !TextInput.
     31 * ''widget'' -- A Widget class, or instance of a Widget class, that should be used for this Field when displaying it. Each Field has a default widget that it'll use if you don't specify this. In most cases, the default widget is !TextInput.
    3332 * ''label'' -- A verbose name for this field, for use in displaying this field in a form. By default, Django will use a "pretty" version of  the form field name, if the Field is part of a Form.
    3433 * ''initial'' -- A value to use in this Field's initial display. This value is *not* used as a fallback if data isn't given.
Back to Top