添加评论机器人与教师端脚本发布。
This commit is contained in:
@@ -2,7 +2,7 @@ import json
|
||||
import time
|
||||
|
||||
from django.shortcuts import render
|
||||
from server.models import Task,StudentandTercher,Comment,Liuyan,CooperationMind
|
||||
from server.models import Task,StudentandTercher,Comment,Liuyan,CooperationMind,Jiaoben
|
||||
from server_auth.models import MindUser
|
||||
|
||||
def front_comment(type):
|
||||
@@ -30,7 +30,8 @@ def to_dashboard(request):
|
||||
"""
|
||||
主界面
|
||||
"""
|
||||
param = {"page": "b9b101e"}
|
||||
jiaoben = Jiaoben.objects.order_by('id').last().jiaoben
|
||||
param = {"page": "b9b101e","jiaoben": jiaoben}
|
||||
return render(request, "html/dashboard.html", param)
|
||||
|
||||
def to_baiban(request):
|
||||
|
||||
Reference in New Issue
Block a user