摘要: 多对多 方法一 :双外键关联 自定义关系表 自定义 class Host(models.Model): nid = models.AutoField(primary_key=True) hostname = models.CharField(max_length=32,db_index=True) ip = models.GenericIPAddressField(pro... 阅读全文
posted @ 2018-06-17 12:17 想翻身的猫 阅读(170) 评论(0) 推荐(0) 编辑