通过视图函数index添加表数据
def index(request):
Student.objects.create(sid=180301, name='小花', age=18, score=89, sex='女')
Student.objects.create(name='二狗', age=17, score=60, sex='男')
Student.objects.create(name='三胖', age=15, score=56, sex='男')
Student.objects.create(name='铁蛋', age=19, score=72, sex='男')
return HttpResponse('success')