Creating a Django model ForeignKey field from a specific queryset?

前端 未结 0 772
耶瑟儿~
耶瑟儿~ 2021-01-03 05:06

Ok, this is a hard one to explain.

I Have these models:

class Supplier(models.Model):
    name = models.CharField(max_length=200, null=True)
    phone          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题