old_contents: from django.contrib.auth.decorators import user_passes_test, login_required
  from django.shortcuts import render
  from perfiles_usuario.utils import is_capturista
  from estudios_socioeconomicos.models import Estudio
  
  
  @login_required
  @user_passes_test(is_capturista)
  def capturista_dashboard(request):
      """View to render the capturista control dashboard.
  
         This view shows the list of socio-economic studies that are under review
         and the action buttons to add and edit each socio-economic study.
      """
      estudios = Estudio.objects.filter(status='rechazado')
      return render(request, 'captura/dashboard_capturista.html',
                    {'estudios': estudios})
  
new_contents: from django.contrib.auth.decorators import user_passes_test, login_required
  from django.shortcuts import render
  from perfiles_usuario.utils import is_capturista
  from estudios_socioeconomicos.models import Estudio
  
  
  @login_required
  #@user_passes_test(is_capturista)
  def capturista_dashboard(request):
      """View to render the capturista control dashboard.
  
         This view shows the list of socio-economic studies that are under review
         and the action buttons to add and edit each socio-economic study.
      """
      estudios = []
      iduser = request.user.id
      rechazados = Estudio.objects.filter(status='rechazado')
      for estudio in rechazados:
          if estudio.capturista_id == iduser:
              estudios.append(estudio)
      return render(request, 'captura/dashboard_capturista.html',
                    {'estudios': estudios})
  
subject: Add userid to query to get socio-economic studies