3
나는이 개 모델이 있습니다장고 models.ForeignKey 필터
class Foo(models.Model):
name...
type = models.CharField(choices=TYPE_CHOICES)
class Fighter(models.Model):
foo = models.ForeignKey(Foo, filter(type="A")
당신이 외부 키의 드롭 다운 목록을 필터링 할 수 있습니까?