Re: Running a custom function when a queryset is evaluated.

2016-10-21 Thread David Nielson
I noticed a typo in my original message: "function prefetch_employee_data(employees):" should be "def prefetch_employee_data(employees):" -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Running a custom function when a queryset is evaluated.

2016-10-21 Thread David Nielson
I'm really hitting a wall on this issue...maybe there's someone out there who has insight on this. In this application there is an Employee model with its accompanying table in the database. In order to track the "effective dates" of certain fields, I have removed those columns from the table,