from django.shortcuts import render def index(request): result = request.GET.get('result', None) return render(request, 'index.html', {'result': result}) def about_us(request): return render(request, 'about_us.html')