Changes between Initial Version and Version 3 of Ticket #14515
- Timestamp:
- Oct 20, 2010, 1:46:51 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14515
- Property Component Uncategorized → Database layer (models, ORM)
- Property Milestone → 1.3
-
Ticket #14515 – Description
initial v3 1 1 This will work during pickle.dumps: http://paste.pocoo.org/show/278047/ but will fail when I run loads. 2 2 3 The reason is that __getstate__ of ValueQueryset puts (in this case) ['name', 'deleted', 'id', 'id'] into obj_dict['search_fields'](http://code.djangoproject.com/browser/django/trunk/django/db/models/sql/query.py#L176); during loads it won't find Page.deleted etc… (full traceback: http://paste.pocoo.org/show/278050/)3 The reason is that {{{ __getstate__ }}} of {{{ ValueQueryset }}} puts (in this case) {{{ ['name', 'deleted', 'id', 'id'] }}} into {{{ obj_dict['search_fields'] }}} (http://code.djangoproject.com/browser/django/trunk/django/db/models/sql/query.py#L176); during loads it won't find Page.deleted etc… (full traceback: http://paste.pocoo.org/show/278050/)