My Model
class Expense(models.Model):
date = models.DateField("Date", default=now)
department = models.CharField( max_length=200)
#employee = models.ForeignKey(to=User, on_delete=models.CASCADE)
employee = models.CharField( max_length=200)
transactionId = models.CharField(max_length=200, unique=True)
institutions = models.CharField( max_length=200)
description = models.TextField(max_length=200)
amount = models.FloatField()
account_dr = models.CharField( max_length=200)
account_cr = models.CharField( max_length=200)
The normal display of Transactions but i want a summary for each date like
the table below and how to represent it on the html template
[image: Capture.PNG]
This is the result i want to achieve
[image: Capture1.PNG]
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/cf857b5b-fcb9-44d0-84cc-7329d3a8eb5en%40googlegroups.com.