How to link two fields of the same model for the filtering logic to work for ForeignKey

前端 未结 0 453
难免孤独
难免孤独 2020-12-22 20:06

friends! I have a models:

class Articles(models.Model):
    ...
    contragent = models.ForeignKey(\'Contragent\', on_delete=models.PROTECT, null=True, 
              


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