(self)
return row
Creates the row to be outputted in a table.
Creates the row to be outputted in a table.
Creates the row to be outputted in a table .
def row(self):
        """
            Creates the row to be outputted in a table.
        """
        row = []
        for key in self.properties_in_row:
            col = None
            if self.document_instance:
                property = getattr(self.document_instance, key)
                col = self.format_property(key, property)
            row.append(col or "")
        row.append(self.edit_button)
        return row
def row ( self ) : row = [ ] for key in self . properties_in_row : col = None if self . document_instance : property = getattr ( self . document_instance , key ) col = self . format_property ( key , property ) row . append ( col or "" ) row . append ( self . edit_button ) return row