langacore.kit.django 0.3.3 documentation

This Page

langacore.kit.django.common.forms

Albeit useful, this module is still somewhat a mess in a really early state of development. Beware, there be dragons.

Classes

class MassMailingForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.util.ErrorList'>, label_suffix=':', empty_permitted=False)

Bases: django.forms.forms.Form

class PolishSelectDateWidget(attrs=None, years=None)

Bases: django.forms.extras.widgets.SelectDateWidget

class Select(attrs=None, choices=())

Bases: django.forms.widgets.Widget

class SelectDateWidget(attrs=None, years=None, required=True)

Bases: django.forms.widgets.Widget

A Widget that splits date input into three <select> boxes.

This also serves as an example of a Widget that has more than one HTML element and hence implements value_from_datadict.