Auto-populate django model field with value if None

后端 未结 0 486
借酒劲吻你
借酒劲吻你 2021-02-05 02:06

I\'m attempting to auto-populate my Comment model\'s commenter field when not filled out with a string value consisting of "Anon" and the comments primary key(should b

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