accessing foreign keys in djnago views, id attribute of model class

后端 未结 0 445
醉酒成梦
醉酒成梦 2020-11-21 22:27

Here are three of my models:

class User(AbstractUser):
    pass

class Category(models.Model):
    Name = models.CharField(max_length=20)

class Listing(model         


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