Quantcast
Channel: Latest posts from timonweb.com
Viewing all articles
Browse latest Browse all 93

Improving Number of Queries Generated by Django Comment's render_comment_list Template Tag

$
0
0

One of my Django apps uses Django Comments. To show a list of comments on a page I use this simple built-in template tag:

  1. {%render_comment_listforobject%}

All is fine, but I noticed that it loads user object per every comment line. So if you have 50 comments on a ...

Read now


Viewing all articles
Browse latest Browse all 93

Trending Articles