Esempio n. 1
0
 def __init__(self, attrs=None):
     choices = (('1', ('---')),
                ('2', ugettext_lazy('yes')),
                ('3', ugettext_lazy('no')))
     Select.__init__(self, attrs, choices)
Esempio n. 2
0
    def __init__(self, jquery=None, attrs=None, choices=(), buit=None):
        self.jquery = jquery if jquery else u''
        self.buit = buit if buit else False

        Select.__init__(self, attrs=attrs, choices=choices)
Esempio n. 3
0
 def __init__(self, attrs=None):
     choices = ((u'1', ugettext(u'Indifférent')), (u'2', ugettext(u'Oui')),
                (u'3', ugettext(u'Non')))
     Select.__init__(self, attrs, choices)
Esempio n. 4
0
 def __init__(self, jquery=None, attrs=None, choices=(), buit=None):
     self.jquery = jquery if jquery else u''
     self.buit = buit if buit else False
     
     Select.__init__(self, attrs=attrs, choices=choices)
Esempio n. 5
0
 def __init__(self, attrs=None):
     choices = ((u'1', ugettext(u'Indifférent')),
                (u'2', ugettext(u'Oui')),
                (u'3', ugettext(u'Non')))
     Select.__init__(self, attrs, choices)