How to update model object if it exist or create object if isn't

后端 未结 0 479
囚心锁ツ
囚心锁ツ 2020-12-16 21:30

I need some guidance on how properly use update_or_create method

As mentioned in django documentation

The update_or_create method tries to fetch a

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