Set a reverse foreignkey relationship in django without saving

后端 未结 0 1986
花落未央
花落未央 2021-02-04 10:38

if you have an instance of a django object, you can set a field and if you don\'t save it, it goes away.

if you have a foreignkey relationship and you use set

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