To define a many-to-many relationship, use ManyToManyField . You use it just like any other Field type: by including it as a class attribute of your model.
確定! 回上一頁