#11082: exclude subquery executed twice ---------------------------------------------------+------------------------ Reporter: handrews | Owner: nobody Status: new | Milestone: 1.1 Component: Database layer (models, ORM) | Version: SVN Resolution: | Keywords: Stage: Accepted | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ---------------------------------------------------+------------------------ Comment (by clement):
In attached patch : * Added !__deepcopy!__ in !QuerySet to avoid having !__getstate!__ forcing the result cache to be populated * Alex's fix (on django-users mailing list) to avoid evaluating the !QuerySet in add_filter * Simple regression test -- Ticket URL: <http://code.djangoproject.com/ticket/11082#comment:4> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---