我的models.py中有以下代码:
class Tag(models.Model):
name = models.CharField(max_length=75)
class Article(models.Model):
tags = models.ManyToManyField(Tag)
def save(self,*args,**kwargs):
for tag in self.tags:
print tag.name
super(Article,self).save(*args,**kwargs)
ValueError: "
最佳答案