Re: How to pass variable dates to a ORM query

2018-08-07 Thread Derek
You'll probably need to post some code snippets; what do these functions' signatures look like and how do they get called? On Tuesday, 7 August 2018 03:43:01 UTC+2, Gerald Brown wrote: > > I have a Django/Python function that creates a Reportab PDF file based on > the current date. Works GOOD.

How to pass variable dates to a ORM query

2018-08-06 Thread Gerald Brown
I have a Django/Python function that creates a Reportab PDF file based on the current date. Works GOOD. Now I want to pass any date to that function and have it create a PDF based on the new date. I tried creating another function that generates the date (yesterday) but I am not able to pass