Django ORM - Can I create a new object with a foreign key using a different column other than ID?

后端 未结 0 1784
天涯浪人
天涯浪人 2021-01-17 02:15

I checked around a fair bit and could not find any examples of what I am looking for so i am not sure if it is possible at all.

I have a model with a foreign key. I w

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