Glossary: Django Beyond the Basics
annotate()
Also written: annotate
A QuerySet method that adds a computed value to each row or group, such as total units per product. Put `.values()` before it to say what to group by.
Glossary: Django Beyond the Basics
Also written: annotate
A QuerySet method that adds a computed value to each row or group, such as total units per product. Put `.values()` before it to say what to group by.