2👍
✅
I would suggest breaking away from ListView and implementing a simple TemplateView of your own.
from myapp.models import Traffic, Email
class DashboardView(TemplateView):
template_name = "dashboard/pages/dashboard.html"
def get_context_data(self, **kwargs):
context = super(DashboardView, self).get_context_data(**kwargs)
context['email_list'] = Email.objects.all()
context['traffic_list'] = Traffic.objects.all()
return context
Source:stackexchange.com