Files
ITShowPlatform/apps/comments/models.py
T
2022-05-09 12:11:01 +08:00

14 lines
306 B
Python

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)