Changes between Initial Version and Version 3 of Ticket #14515


Ignore:
Timestamp:
Oct 20, 2010, 1:46:51 PM (14 years ago)
Author:
Alex Gaynor
Comment:

Cleaned up the formatting.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14515

    • Property Component UncategorizedDatabase layer (models, ORM)
    • Property Milestone1.3
  • Ticket #14515 – Description

    initial v3  
    11This will work during pickle.dumps: http://paste.pocoo.org/show/278047/ but will fail when I run loads.
    22
    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/)
Back to Top