コード例 #1
0
ファイル: forms.py プロジェクト: mrMarcosss/netstores
 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
ファイル: forms.py プロジェクト: mrMarcosss/netstores
 def __init__(self, *args, **kwargs):
     super(TypeEditForm, self).__init__(*args, **kwargs)
     BootstrapFormMixin.__init__(self)
コード例 #3
0
ファイル: forms.py プロジェクト: mrMarcosss/netstores
 def __init__(self, *args, **kwargs):
     super(Storage_editForm, self).__init__(*args, **kwargs)
     BootstrapFormMixin.__init__(self)