见代码
分类 "Python" 下的文章
最简单的操作
1、直接返回
return HttpResponse('something write here')
2、强制跳转
return redirect('http://www.baidu.com')
3、返回相应的模板页面
return render(request, 'something.html', {})
python -m venv ll_env
ll_env\scripte\activate