Source

django / 2to3notes

loe...@bcc190cf-… df9b089 


1
2
3
4
Book.objects.filter(pk=1).values().annotate(mean_age=Avg('authors__age'))
transformed to
list(Book.objects.filter(pk=1).values()).annotate(mean_age=Avg('authors__age'))
-> list object has no annotate