Extending a column in the user table in django is not creating a entry in table

前端 未结 0 1701
北恋
北恋 2021-01-19 08:38

I have extended the Django user table with a boolean variable.

class UserLogin(models.Model):
    user = models.OneToOneField(User, on_delete=models.CASCADE)
         


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