Understanding definition of Django's model class

后端 未结 0 486
粉色の甜心
粉色の甜心 2020-12-06 21:38

If we create a new model as follows,

from django.db import models   

class Book(models.Model): 
  title = models.CharField(max_length=200)
  author = models.         


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