(self)
return form_fields
Override this to change the order of the crispy form fields and add extra crispy fields
Override this to change the order of the crispy form fields and add extra crispy fields
Override this to change the order of the crispy form fields and add extra crispy fields
def get_ordered_crispy_form_fields(self):
        """
        Override this to change the order of the crispy form fields and add extra crispy fields
        """
        form_fields = ["connection_settings_id", "request_method"]
        if self.formats and len(self.formats) > 1:
            form_fields.append('format')
        return form_fields
def get_ordered_crispy_form_fields ( self ) : form_fields = [ "connection_settings_id" , "request_method" ] if self . formats and len ( self . formats ) > 1 : form_fields . append ( 'format' ) return form_fields