This commit is contained in:
shineahead
2022-05-05 22:57:41 +08:00
parent c8e35b0e1e
commit bbd4691646
7 changed files with 17 additions and 6 deletions
+2
View File
@@ -4,6 +4,8 @@ from django.db import models
class Comments(models.Model):
class Meta:
verbose_name_plural=u"弹幕内容"
post_time = models.DateTimeField(verbose_name="发布时间")
content = models.CharField(verbose_name="弹幕内容", max_length=50, blank=False)