Commit d0616ab0 authored by Nicolas Joyard's avatar Nicolas Joyard
Browse files

Fix dossier detail queries

parent fc288e90
......@@ -7,4 +7,7 @@ from representatives_votes.models import Dossier
class DossierDetail(generic.DetailView):
model = Dossier
queryset = Dossier.objects.prefetch_related(
'proposals',
'proposals__recommendation'
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment