3 | | Under some circumstances -- often involving {{{select_related()}}} and {{{count()}}} -- {{{QuerySet.clone()}}} can cause exceptions related to deepcopy(). These exceptions look like {{{TypeError: instancemethod expected at least 2 arguments, got 0}}} or {{{TypeError: function expected at least 2 arguments, got 0}}}. |
| 3 | Under some circumstances -- often involving {{{select_related()}}} and {{{count()}}} -- {{{QuerySet.clone()}}} can cause exceptions related to deepcopy(). These exceptions look like |
| 4 | |
| 5 | {{{ |
| 6 | TypeError: instancemethod expected at least 2 arguments, got 0 |
| 7 | }}} |
| 8 | or |
| 9 | {{{ |
| 10 | TypeError: function expected at least 2 arguments, got 0 |
| 11 | }}} |