Skip to content

Instantly share code, notes, and snippets.

View quxiaolong1504's full-sized avatar

GreenPine quxiaolong1504

View GitHub Profile
class ClassPropertyDescriptor(object):
def __init__(self, fget, fset=None):
self.fget = fget
self.fset = fset
def __get__(self, obj, klass=None):
if klass is None:
klass = type(obj)
return self.fget.__get__(obj, klass)()
http://flask.pocoo.org/
http://www.sqlalchemy.org/
http://flask-sqlalchemy.pocoo.org/2.1/
http://jinja.pocoo.org/
http://flask-restful-cn.readthedocs.io/en/0.3.4/
http://marshmallow.readthedocs.io/en/latest/index.html
http://flask.pocoo.org/docs/0.11/deploying/uwsgi/
flask + `Web Framework`
sqlalchemy + flask+sqlalchemy + `ORM`
@quxiaolong1504
quxiaolong1504 / gist:ca409bc6dcf3ed8402e2
Last active January 19, 2016 14:17
优先级-quxl
普通消费者
【order,deal(交易),product(产品),sku,payment(某次支付,付款相关),shop,point and cash(积分系统和内部财务系统),
分类(大的商品类别或商品分区之类的),推荐系统,支付方式,refund(退货),virtual_money(虚拟币,电子钱包),pay_password(支
付密码),送货地址,订单状态,cart,邮费,促销系统】
讨论