Пример #1
0
 def __init__(self, *args, **kwargs):
     super(PersonEditForm, self).__init__(*args, **kwargs)
     self.fields['birth_date'].widget = SelectDateWidget(years=range(1950, 2010))
     BootstrapFormMixin.__init__(self)
Пример #2
0
 def __init__(self, *args, **kwargs):
     super(TypeEditForm, self).__init__(*args, **kwargs)
     BootstrapFormMixin.__init__(self)
Пример #3
0
 def __init__(self, *args, **kwargs):
     super(Storage_editForm, self).__init__(*args, **kwargs)
     BootstrapFormMixin.__init__(self)