1
2
3
4
5
6
|
class OrderGoodsInfo(models.Model): ... .... class OrderShipping(models.Model): order = models.ManyToManyField(OrderGoodsInfo, blank=True, verbose_name= "物流ID" ) .... |
views.py