Re: Using Django with groupby

2017-04-21 Thread Will Holmes
Fixed this by just not using groupby. So far I just have a slightly long-winded work around that formats the data in the same way as groupby but includes all days in in between, and including, the start date and end date. def group_by_day(self, events, month): return_dict = {} f

Using Django with groupby

2017-04-20 Thread Will Holmes
Hi guys, I am using django to develop a calendar web app where users can create events that are then displayed on a month by month view. I have written a custom template tag that takes Python's HTMLCalendar formatmonth function and overlays events that are on that day. It is currently se