更改表结构

This commit is contained in:
ygm1881
2022-05-09 12:11:01 +08:00
parent feac79096d
commit 108cffff31
52 changed files with 103 additions and 84 deletions
+13
View File
@@ -0,0 +1,13 @@
from django.db import models
# Create your models here.
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)