#from django.shortcuts import render
from django.views.generic import ListView
from analysis.models import Analysis
class AnalysisList(ListView):
queryset = Analysis.objects.order_by('-created')
context_object_name = 'analises_list'
# def get_context_data(self, **kwargs):
# # Call the base implementation first to get a context
# context = super(AnalysisList, self).get_context_data(**kwargs)
#
# for analysis in self.queryset.all():
#
# context['publisher'] = "Aaaa"
# return context