(self, config)
return form, html
Provide the configuration information for ThreatGRID
Provide the configuration information for ThreatGRID
Provide the configuration information for ThreatGRID
def generate_config_form(self, config):
        """
        Provide the configuration information for ThreatGRID
        """
        # Convert sigfiles to newline separated strings
        html = render_to_string('services_config_form.html',
                                {'name': self.name,
                                 'form': forms.ThreatGRIDConfigForm(initial=config),
                                 'config_error': None})
        form = forms.ThreatGRIDConfigForm
        return form, html
def generate_config_form ( self , config ) : # Convert sigfiles to newline separated strings html = render_to_string ( 'services_config_form.html' , { 'name' : self . name , 'form' : forms . ThreatGRIDConfigForm ( initial = config ) , 'config_error' : None } ) form = forms . ThreatGRIDConfigForm return form , html