{"action":"closed","issue":{"url":"https://api.github.com/repos/bradleyayers/django-tables2/issues/162","labels_url":"https://api.github.com/repos/bradleyayers/django-tables2/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/bradleyayers/django-tables2/issues/162/comments","events_url":"https://api.github.com/repos/bradleyayers/django-tables2/issues/162/events","html_url":"https://github.com/bradleyayers/django-tables2/issues/162","id":18154643,"number":162,"title":"Extra SQL calls","user":{"login":"mrkre","id":4860537,"avatar_url":"https://avatars.githubusercontent.com/u/4860537?v=3","gravatar_id":"","url":"https://api.github.com/users/mrkre","html_url":"https://github.com/mrkre","followers_url":"https://api.github.com/users/mrkre/followers","following_url":"https://api.github.com/users/mrkre/following{/other_user}","gists_url":"https://api.github.com/users/mrkre/gists{/gist_id}","starred_url":"https://api.github.com/users/mrkre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrkre/subscriptions","organizations_url":"https://api.github.com/users/mrkre/orgs","repos_url":"https://api.github.com/users/mrkre/repos","events_url":"https://api.github.com/users/mrkre/events{/privacy}","received_events_url":"https://api.github.com/users/mrkre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bradleyayers/django-tables2/labels/support%20question","name":"support question","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2013-08-16T12:43:24Z","updated_at":"2016-01-01T22:18:22Z","closed_at":"2016-01-01T22:18:22Z","body":"Still on 0.13.0. \r\n\r\nI only have 3 rows in my test table and for each row I am hitting the database to retrieve any related model in my query (using prefetch_related). \r\n\r\nIt's called during this segment in the template:\r\n{% for column, cell in row.items %}\r\n\r\nThis is related to issue #103.\r\n\r\nHow do I improve the performance?\r\n"}}