diff --git a/server/models.py b/server/models.py
index d3c844b..d17fb11 100644
--- a/server/models.py
+++ b/server/models.py
@@ -103,8 +103,8 @@ class StudentandTercher(AbstractModel):
add_time = models.DateTimeField(verbose_name='添加时间', auto_now_add=True)
class_info = models.CharField(verbose_name='课程信息', max_length=128, null=False, blank=False)
class_status = models.CharField(verbose_name='课程状态', max_length=128, null=False, blank=False)
-
-class Task(models.Model):
+#
+class Task(AbstractModel):
title = models.CharField(max_length=200)
description = models.TextField()
deadline = models.CharField(max_length=200)
@@ -113,25 +113,3 @@ class Task(models.Model):
def __str__(self):
return self.title
-
-class User_Teacher(AbstractModel):
- """
-
kecheng.id |
- kecheng.education |
- kecheng.name |
- kecheng.create |
- kecheng.depart |
- kecheng.status |
- """
-
- #1, 增加额外的属性
- kecheng_id = models.SmallIntegerField(verbose_name="课程id",null=True, blank=True)
- name = models.CharField(verbose_name="教师姓名",max_length=32,null=True, blank=True,)
- education = models.CharField(verbose_name="课程名称",max_length=128,null=True, blank=True)
- create = models.CharField(verbose_name="课程创建时间",max_length=128,null=True, blank=True)
- depart = models.CharField(verbose_name="课程信息",max_length=64,default="暂未设定")
- kecheng_status = models.CharField(verbose_name="课程状态", max_length=128, null=True, blank=True)
-
- #2, 指定表名信息
- class Meta:
- db_table = "tb_users"
\ No newline at end of file
diff --git a/static/html/dashboard.html b/static/html/dashboard.html
index 460aebe..182f4b0 100644
--- a/static/html/dashboard.html
+++ b/static/html/dashboard.html
@@ -621,6 +621,12 @@
课程页面
+
+
+
+ 任务发布页面
+
+
diff --git a/static/html/echats.html b/static/html/echats.html
index 10da73f..ef0c118 100644
--- a/static/html/echats.html
+++ b/static/html/echats.html
@@ -541,7 +541,7 @@