django/tests/queryset_pickle
Anssi Kääriäinen 155a127afb [1.8.x] Fixed #24381 -- removed ForeignObjectRel opts and to_opts
These cached properies were causing problems with pickling, and in
addition they were confusingly defined: field.rel.model._meta was
not the same as field.rel.opts.

Instead users should use field.rel.related_model._meta inplace of
field.rel.opts, and field.rel.to._meta in place of field.rel.to_opts.

Backport of f95122e541 from master
2015-02-23 07:26:10 -05:00
..
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
tests.py [1.8.x] Fixed #24381 -- removed ForeignObjectRel opts and to_opts 2015-02-23 07:26:10 -05:00