forms.URLField
  • References/Python/Django/API/Forms/Form fields

class URLField(**kwargs) [source] Default widget:

2025-01-10 15:47:30
forms.ModelMultipleChoiceField
  • References/Python/Django/API/Forms/Form fields

class ModelMultipleChoiceField(**kwargs) [source] Default widget:

2025-01-10 15:47:30
forms.ModelChoiceField
  • References/Python/Django/API/Forms/Form fields

class ModelChoiceField(**kwargs) [source] Default widget:

2025-01-10 15:47:30
forms.CharField.strip
  • References/Python/Django/API/Forms/Form fields

strip New in Django 1.9. If True

2025-01-10 15:47:30
forms.ModelChoiceField.empty_label
  • References/Python/Django/API/Forms/Form fields

empty_label By default the <select> widget used by ModelChoiceField will have an empty choice

2025-01-10 15:47:30
forms.Widget.attrs
  • References/Python/Django/API/Forms/Widgets

attrs A dictionary containing HTML attributes to be set on the rendered widget. >>>

2025-01-10 15:47:30
forms.SplitDateTimeWidget
  • References/Python/Django/API/Forms/Widgets

class SplitDateTimeWidget [source] Wrapper (using MultiWidget) around two widgets:

2025-01-10 15:47:30
forms.BoundField.as_hidden()
  • References/Python/Django/API/Forms/The Forms API

BoundField.as_hidden(attrs=None, **kwargs) [source] Returns a string of HTML for representing

2025-01-10 15:47:30
forms.IntegerField.min_value
  • References/Python/Django/API/Forms/Form fields

min_value These control the range of values permitted in the field.

2025-01-10 15:47:30
forms.Widget.id_for_label()
  • References/Python/Django/API/Forms/Widgets

id_for_label(self, id_) [source] Returns the HTML ID attribute of this widget for use by

2025-01-10 15:47:30