how to filter objects to get the sum of the repeated values in Django? – Postgresql
models.py name = models.ForeignKey(CustomUser) date = models.DateTimeField() orders = models.IntegerField(default=0) this is the model which counts daily orders of a user. the order which is made in the same day will just increase the orders count by one. So how…