Find a typo in the documentation.

19 views
Skip to first unread message

王祥

unread,
Nov 7, 2017, 3:42:14 AM11/7/17
to Django users
In this site, the code 
Book.objects.all().aggregate(price_diff=Max('price', output_field=FloatField()) - Avg('price')))
There is an extra right parenthesis in the end.

Tim Graham

unread,
Nov 7, 2017, 9:03:52 AM11/7/17
to Django users
I pushed a fix for that, thanks!
Reply all
Reply to author
Forward
0 new messages