Form.as_p() as_p() renders the form as a series of <p> tags, with each <p>
Detailed form API reference. For introductory material, see the Working with forms topic guide.
fields The list of fields that should be used to validate the field’s value (in the order in which they are provided).
format_value(value) Cleans and returns a value for use in the widget template. value isn’t guaranteed to be valid
class TextInput [source] Text input: <input type="text" ...>
class DateField(**kwargs) [source] Default widget:
regex A regular expression specified either as a string or a compiled regular expression object. Also
class URLInput [source] Text input: <input type="url" ...>
class URLField(**kwargs) [source] Default widget:
class ModelMultipleChoiceField(**kwargs) [source] Default widget:
Page 1 of 18