Help with reusing generic views in my little finance/budget application

2018-07-17 Thread rod termaat
I have a small checkbook application I am building as a hobby to replace my excel spreadsheets and learn Django and Python. I am using Django 2 and Python 3 dot something. I have 1 view (function) where your monthly income and expenses are displayed on an HTML Calendar. The navigation is b

Re: Queryset calculation and then filter/exclude/limit data rendered

2018-06-30 Thread rod termaat
will find more elegant solutions. rod On Friday, June 29, 2018 at 3:02:58 PM UTC-5, rod termaat wrote: > > I totally get what you are saying and thanks. I tried a similar strategy. > I do qs = Check.objects.all() and then I have to do the calculation as > there is no balance in th

Re: Queryset calculation and then filter/exclude/limit data rendered

2018-06-29 Thread rod termaat
ou can > then apply other calculation logic on the list. > > > On Thursday, 28 June 2018 02:09:21 UTC+2, rod termaat wrote: >> >> I have a small checkbook application where I store transactions (expenses >> and income) amounts by date. I render these to a template us

Queryset calculation and then filter/exclude/limit data rendered

2018-06-27 Thread rod termaat
I have a small checkbook application where I store transactions (expenses and income) amounts by date. I render these to a template using python to add the cumulative balance prior to render. This work fine for my little application, but not too sure how scalable it will be over time. My g