python类relationship()的实例源码

models.py 文件源码 项目:metaseek 作者: ahoarfrost 项目源码 文件源码 阅读 18 收藏 0 点赞 0 评论 0
def __repr__(self):
        return '<Dataset %r>' % self.expt_id

# For a many to many database relationship, use a mapping table (no class definition directly)
# Eg. each publication may have many datasets, and each dataset may belong to many publications
# Each row in this table is one "dataset in publication" membership


问题


面经


文章

微信
公众号

扫码关注公众号