A
A
aesfur2017-01-31 10:56:35
Django
aesfur, 2017-01-31 10:56:35

How to annotate without saving to db?

It is necessary to make an annotation and various aggregation methods for data that I do not take from the database.
If I understood everything correctly, then in django annotate and aggegate are applied only to QuerySet objects.
Is there a way to apply these methods to a dictionary, for example? Am I missing something or will I have to create a bike that does the same thing, only for dictionaries?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question