Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question