def cursorAtSpaceEnd(block):
            cursor = QTextCursor(block)
            cursor.setPosition(block.position() + len(blockIndentation(block)))
            return cursor
def serializable_fields(self):
        """ in certain cases the user model isn't serializable so you may want to only send the id """
        return self