#12876: maximum recursion error when caching querysets on models ---------------------------------------------------+------------------------ Reporter: zbyte64 | Owner: elachuni Status: new | Milestone: 1.2 Component: Database layer (models, ORM) | Version: 1.2-beta Resolution: | Keywords: pycamp2010 Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ---------------------------------------------------+------------------------ Comment (by elachuni):
The attached patch adds an optional argument 'memo' to clone, to be able to correctly implement deepcopy. Replying to [comment:3 elachuni]: > So, if the query contains a reference to a model instance that in turn contains a reference to a reference (...) Should have been a reference to a '''query''' here. -- Ticket URL: <http://code.djangoproject.com/ticket/12876#comment:5> 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-upda...@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.