Django Book 翻译
菜单>:
TOC
返回
原文:
The only difference is in the attribute naming: the model that defines the ``ManyToManyField`` uses the attribute name of that field itself, whereas the reverse model uses the lowercased model name of the original model, plus ``'_set'`` (just like reverse one-to-many relationships).
翻译:
唯一的不同在于属性的命名:定义了``ManyToManyField``的model的实例使用属性名称本身,另外一端的model的实例则使用model名称的小写加上``_set``来活得关联的对象集(就跟反向一对多关系一样)
备注:
译者: