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 the generated date to the first function.
Any ideas on how to do this???
Thanks