<s> from . utils import captitle <EOL> class BaseModel ( object ) : <EOL> title = None <EOL> def __init__ ( self ) : <EOL> self . __name__ = self . __class__ . __name__ <EOL> self . slug = self . __name__ . lower ( ) <EOL> if self . title is None : <EOL> self . title = captitle ( self . __name__ ) <EOL> def __str__ ( self ) : <EOL> return self . __name__ </s>
