D
D
Dmitry2016-03-07 12:06:38
Django
Dmitry, 2016-03-07 12:06:38

How to calculate the sum of a column from a specific table in Django?

The task is to sum up this value with the previous entries when adding an entry to a certain column of the table and write it to a separate table of sums. How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily, 2016-03-07
@topwebmaster

djbook.ru/rel1.8/topics/db/aggregation.html - not that? Or it is necessary to write directly in a DB?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question