Skip to content

Commit

Permalink
Limite le nombre de requêtes
Browse files Browse the repository at this point in the history
  • Loading branch information
gllmc committed Apr 22, 2017
1 parent ef1c239 commit bdda809
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zds/pages/views.py
Expand Up @@ -171,7 +171,9 @@ def get_queryset(self):
return CommentEdit.objects \
.filter(comment=comment) \
.select_related('editor') \
.select_related('editor__profile') \
.select_related('deleted_by') \
.select_related('deleted_by__profile') \
.order_by('-date')


Expand Down

0 comments on commit bdda809

Please sign in to comment.