feinheit/feincms_gallery — Issue #5: too many queries caused by translation.caption and translation.description
Author: indexofire
Created: 2011-11-22 11:04:05+00:00
State: open

too many duplicate queries from {{ translation.caption }} and {{ translation.description }} in templates.

i wanna use `images.values('translation__caption', 'translation__description', 'file__name', 'file__url', ...) to decrease these, but it look like values doesn't handle FileField's method. any idea to solve it?

thanks.