why did Django not create the dateTime field of the DB model?

前端 未结 0 1088
借酒劲吻你
借酒劲吻你 2021-01-07 15:18

I wrote the model:

class Blog(models.Model):
     title = models.CharField(max_length=20)
     date = models.DateTimeField(\'date published\')
     content =          


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