(self, username, *args, **kwargs)
Initialize the form.
Initialize the form.
Initialize the form .
def __init__(self, username, *args, **kwargs):
        """
        Initialize the form.
        """
        kwargs.setdefault('label_suffix', ':')
        super(TAXIIPollForm, self).__init__(*args, **kwargs)
        sc = get_config('taxii_service')
        user_srcs = user_sources(username)
        self.fields['feeds'].choices = get_taxii_feeds(user_srcs)
def __init__ ( self , username , * args , * * kwargs ) : kwargs . setdefault ( 'label_suffix' , ':' ) super ( TAXIIPollForm , self ) . __init__ ( * args , * * kwargs ) sc = get_config ( 'taxii_service' ) user_srcs = user_sources ( username ) self . fields [ 'feeds' ] . choices = get_taxii_feeds ( user_srcs )