Re: can't pickle OracleQuery

2008-08-28 Thread paulh
Many thanks for reply. It might just be of interest to know that what I was actaully pickling (storing in a session) was not the queryset itself (since it is large) but the Queryset.query attribute which I imagined to be just the sql (maybe wrapped in something). Once I'd encountered the error I d

Re: can't pickle OracleQuery

2008-08-28 Thread Malcolm Tredinnick
On Thu, 2008-08-28 at 06:51 -0700, paulh wrote: > django svn version 8659 > I have some django code that runs perfectly against postgres > (psycopg2), but fails with: PicklingError: Can't pickle 'django.db.backends.oracle.query.OracleQuery'>: attribute lookup > django.db.backends.oracle.query.Or

can't pickle OracleQuery

2008-08-28 Thread paulh
django svn version 8659 I have some django code that runs perfectly against postgres (psycopg2), but fails with: PicklingError: Can't pickle : attribute lookup django.db.backends.oracle.query.OracleQuery failed when run against an Oracle XE database. Just wondered whether anyone else had encounte