class Animal(models.Model):
title = models.CharField(max_length=255)
color = models.ForeignKey(Color)
class Color(models.Model):
name = models.CharField(null=False, max_length=250)
other = models.CharField(null=False, max_length=250)
如何在管理员StackedInline中创建?Animal我需要Color在编辑Animal对象期间查看属性。