def setSyntax(self, syntax):
        """Choose smart indentation algorithm according to syntax"""
        self._smartIndenter = self._chooseSmartIndenter(syntax)
def serializable_fields(self):
        """ in certain cases the user model isn't serializable so you may want to only send the id """
        return self