You can use a technique similar to what’s described at Django Add field values as per month and year wise and consolidate.
You can use the TruncDate
function to annotate the date on the instance, and then you can group by that date.
Side note: When posting code here, enclose the code between lines of three backtick - ` characters. This means you’ll have a line of ```, then your code, then another line of ```. This forces the forum software to keep your code properly formatted. (I’ve taken the liberty of fixing your original post for you.)