更改表结构
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user