from django.shortcuts import render # Create your views here. # 测试 from django.views import View class text(View): def get(self, request): return render(request, 'tx.html')