#!/usr/bin/env python # -*- encoding: utf-8 -*- from .base import Model __all__ = ('Plan', 'User') class Plan(Model): def __str__(self): return '' % getattr(self, 'name', '') class User(Model): """ """ maps = {'plan': Plan} dates = ('created_at', ) def __str__(self): return '' % getattr(self, 'login', '')