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
评论列表
文章目录