实例一、显示一个基本的字符串在网页中
首先先进入views.py
def home(request): string = u'随便写' return render(request, 'home.html', {'string':string})