Generate unique id in django from a model field

后端 未结 0 866
说谎
说谎 2020-12-23 01:11

I want to generate different/unique id per request in django from models field. I did this but I keep getting the same id.

class Paid(models.Model):
     use         


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