mirror of
https://github.com/django/django.git
synced 2024-12-28 12:06:22 +00:00
155a127afb
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
|
||
---|---|---|
.. | ||
__init__.py | ||
models.py | ||
tests.py |