Package wcdbweb :: Module forms :: Class AdvancedSearchOptionForm
[hide private]
[frames] | no frames]

Class AdvancedSearchOptionForm

source code


Instance Methods [hide private]
 
__init__(self, *args, **kwargs) source code
 
clean_value(self) source code
Class Variables [hide private]
  option = forms.ChoiceField(required= False, widget= forms.Sele...
  operator = forms.ChoiceField(required= True, widget= forms.Sel...
  value = forms.CharField(required= False, widget= forms.TextInp...
Class Variable Details [hide private]

option

Value:
forms.ChoiceField(required= False, widget= forms.Select, label= 'Optio\
n', help_text= 'Select an option', initial= None)

operator

Value:
forms.ChoiceField(required= True, widget= forms.Select, label= 'Operat\
or', help_text= 'Select an operator', choices= OPERATOR_CHOICES, initi\
al= 'eq')

value

Value:
forms.CharField(required= False, widget= forms.TextInput, label= 'Valu\
e', help_text= 'Enter the desired value', initial= '')