{{{
UnpickleError at /django-rq/queues/1/
(u'Could not unpickle', AttributeError("'module' object has no attribute
'simple_class_factory'",))
}}}
And if I manually re-introduce `simple_class_factory`, I'm then getting:
{{{
UnpickleError at /django-rq/queues/1/
(u'Could not unpickle', TypeError('model_unpickle() takes exactly 1
argument (3 given)', <function model_unpickle at 0x7f921ddc8578>,
(('accounts', 'BDNUser'), [], <function simple_class_factory at
0x7f921ddc8500>)))
}}}
Which could be solved by adding `*args` to `model_unpickle`.
What about adding some compatibility shims during one or two releases?
--
Ticket URL: <https://code.djangoproject.com/ticket/27187>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by timgraham):
The consensus from #21430 seemed to be that cross-version pickling support
wasn't something we wanted to try to do. I guess you could ask on the
mailing list whether we should revisit that.
--
Ticket URL: <https://code.djangoproject.com/ticket/27187#comment:1>
* status: new => closed
* resolution: => needsinfo
Comment:
Closing pending discussion.
--
Ticket URL: <https://code.djangoproject.com/ticket/27187#comment:2>
Comment (by claudep):
Sorry, I missed your first comment.
I still think that if we can take simple measures to ensure the
compatibility with only the next Django version, it would be worth it.
However my motivation is not strong enough to push this forward now.
--
Ticket URL: <https://code.djangoproject.com/ticket/27187#comment:3>