Switch to unified view

a b/OSSEval/analysis/views.py
1
#from django.shortcuts import render
2
from django.views.generic import ListView
3
from analysis.models import Analysis
4
5
class AnalysisList(ListView):
6
    queryset = Analysis.objects.order_by('-created') 
7
    context_object_name = 'analises_list'
8
9
#     def get_context_data(self, **kwargs):
10
#         # Call the base implementation first to get a context
11
#         context = super(AnalysisList, self).get_context_data(**kwargs)
12
#         
13
#         for analysis in self.queryset.all():
14
#             
15
#         context['publisher'] = "Aaaa"
16
#         return context