弹幕接口和历史接口

This commit is contained in:
shineahead
2022-04-16 16:36:15 +08:00
commit 7aebca78d0
38 changed files with 638 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
from django.db import models
# Create your models here.
class History(models.Model):
grade = models.IntegerField(verbose_name="年份")
name = models.CharField(verbose_name="事件名称", max_length=30)
description = models.CharField(verbose_name="事件描述", max_length=200)
img = models.ImageField(verbose_name="图片", upload_to="image")