Django Querysets -- need a less expensive way to do this..
- by rh0dium
Hi all,
I have a problem with some code and I believe it is because of the expense of the queryset. I am looking for a much less expensive (in terms of time) way to to this..
log.info("Getting Users")
employees = Employee.objects.filter(is_active = True)
log.info("Have Users")
if opt.supervisor:
if opt.hierarchical:
people =…