from django.shortcuts import render
import requests

# Create your views here.

def index(request):
    response = requests.get('http://127.0.0.1:8000/gestion/conductor/').json()
    return render(request,'web/index.html',{
        'response':response
    })
