forms.SelectDateWidget.months

months An optional dict of months to use in the “months” select box. The keys of the dict correspond to the month number (1-indexed) and the values are the displayed months: MONTHS = { 1:_('jan'), 2:_('feb'), 3:_('mar'), 4:_('apr'), 5:_('may'), 6:_('jun'), 7:_('jul'), 8:_('aug'), 9:_('sep'), 10:_('oct'), 11:_('nov'), 12:_('dec') }

forms.BoundField.name

BoundField.name The name of this field in the form: >>> f = ContactForm() >>> print(f['subject'].name) subject >>> print(f['message'].name) message

forms.NumberInput

class NumberInput [source] Text input: <input type="number" ...> Beware that not all browsers support entering localized numbers in number input types. Django itself avoids using them for fields having their localize property set to True.

forms.EmailInput

class EmailInput [source] Text input: <input type="email" ...>

forms.HiddenInput

class HiddenInput [source] Hidden input: <input type='hidden' ...> Note that there also is a MultipleHiddenInput widget that encapsulates a set of hidden input elements.

views.generic.list.BaseListView

class django.views.generic.list.BaseListView A base view for displaying a list of objects. It is not intended to be used directly, but rather as a parent class of the django.views.generic.list.ListView or other views representing lists of objects. Ancestors (MRO) This view inherits methods and attributes from the following views: django.views.generic.list.MultipleObjectMixin django.views.generic.base.View Methods get(request, *args, **kwargs) Adds object_list to the context. If allow_em

core.files.uploadhandler.FileUploadHandler

class FileUploadHandler [source] All file upload handlers should be subclasses of django.core.files.uploadhandler.FileUploadHandler. You can define upload handlers wherever you wish.

gis.gdal.SpatialReference.srid

srid Returns the SRID of top-level authority, or None if undefined.

forms.TimeField.input_formats

input_formats A list of formats used to attempt to convert a string to a valid datetime.time object. If no input_formats argument is provided, the default input formats are: '%H:%M:%S', # '14:30:59' '%H:%M', # '14:30'

http.QueryDict.setdefault()

QueryDict.setdefault(key, default=None) [source] Just like the standard dictionary setdefault() method, except it uses __setitem__() internally.