from django.shortcuts import render
from apps.Investigador.models import Investigador
from apps.roles.models import Rol
# Create your views here.
def inde(request):
    return render(request, 'Home/inicio.html')

def producc(request):
    return render(request, 'Home/produccioncientifica.html')

def similar(request):
    perfil = Investigador.objects.all()
    privi = []
    for p in perfil:
        if p.roles == '3':
            privi.append(p)

    return render(request, 'Home/similares.html',{'usuario': perfil})
1ca2e429318fb8590e8f02a343f86ba4168c7ff3
<mask token>


def inde(request):
    return render(request, 'Home/inicio.html')


<mask token>

<mask token>


def inde(request):
    return render(request, 'Home/inicio.html')


def producc(request):
    return render(request, 'Home/produccioncientifica.html')


<mask token>

<mask token>


def inde(request):
    return render(request, 'Home/inicio.html')


def producc(request):
    return render(request, 'Home/produccioncientifica.html')


def similar(request):
    perfil = Investigador.objects.all()
    privi = []
    for p in perfil:
        if p.roles == '3':
            privi.append(p)
    return render(request, 'Home/similares.html', {'usuario': perfil})

from django.shortcuts import render
from apps.Investigador.models import Investigador
from apps.roles.models import Rol


def inde(request):
    return render(request, 'Home/inicio.html')


def producc(request):
    return render(request, 'Home/produccioncientifica.html')


def similar(request):
    perfil = Investigador.objects.all()
    privi = []
    for p in perfil:
        if p.roles == '3':
            privi.append(p)
    return render(request, 'Home/similares.html', {'usuario': perfil})

from django.shortcuts import render
from apps.Investigador.models import Investigador
from apps.roles.models import Rol
# Create your views here.
def inde(request):
    return render(request, 'Home/inicio.html')

def producc(request):
    return render(request, 'Home/produccioncientifica.html')

def similar(request):
    perfil = Investigador.objects.all()
    privi = []
    for p in perfil:
        if p.roles == '3':
            privi.append(p)

    return render(request, 'Home/similares.html',{'usuario': perfil})