def __init__(self, *args, **kwargs): super(PersonEditForm, self).__init__(*args, **kwargs) self.fields['birth_date'].widget = SelectDateWidget(years=range(1950, 2010)) BootstrapFormMixin.__init__(self)
def __init__(self, *args, **kwargs): super(TypeEditForm, self).__init__(*args, **kwargs) BootstrapFormMixin.__init__(self)
def __init__(self, *args, **kwargs): super(Storage_editForm, self).__init__(*args, **kwargs) BootstrapFormMixin.__init__(self)