0
0
mirror of https://github.com/django/django.git synced 2024-11-22 11:57:34 +01:00
django/tests/queryset_pickle
Anssi Kääriäinen f95122e541 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.
2015-02-23 07:24:43 -05:00
..
__init__.py
models.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
tests.py Fixed #24381 -- removed ForeignObjectRel opts and to_opts 2015-02-23 07:24:43 -05:00