Working with one-to-many model relationship in templates (Django)

前端 未结 0 1389
孤城傲影
孤城傲影 2021-02-08 23:48

I have two models which have a one-to-many relationship:

class Book(models.Model):
title= models.CharField(max_length=200)
description = models.TextField()
source         


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