Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Anthony
memopol
Commits
d0616ab0
Commit
d0616ab0
authored
Jun 08, 2016
by
Nicolas Joyard
Browse files
Fix dossier detail queries
parent
fc288e90
Changes
1
Hide whitespace changes
Inline
Side-by-side
memopol/views/dossier_detail.py
View file @
d0616ab0
...
...
@@ -7,4 +7,7 @@ from representatives_votes.models import Dossier
class
DossierDetail
(
generic
.
DetailView
):
model
=
Dossier
queryset
=
Dossier
.
objects
.
prefetch_related
(
'proposals'
,
'proposals__recommendation'
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment