def _fill_form_exclude_cols(self, exclude_cols, form):
for filter_key in exclude_cols:<EOL><INDENT>filter_value = self._filters.get_filter_value(filter_key)<EOL>rel_obj = self.datamodel.get_related_obj(filter_key, filter_value)<EOL>if hasattr(form, filter_key):<EOL><INDENT>field = getattr(form, filter_key)<EOL>field.data = rel_obj<EOL><DEDENT><DEDENT>
fill the form with the suppressed cols, generated from exclude_cols