Django: within html reference foreign key from user

后端 未结 0 697

models.py:

class Banking(models.Model):
    user = models.ForeignKey(User, on_delete=models.CASCADE, null=True)
    available_credits = models.PositiveInteger         


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