I am making an User(AbsrtactUser) model and I need to make a field that auto increments

前端 未结 0 572
走了就别回头了
走了就别回头了 2021-01-12 11:47
    class CustomUser(AbstractUser):
        email =  models.EmailField(unique=True,blank=True,max_length=254, verbose_name=\'email address\')
        phone_number =          


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