diff options
| author | Anssi Kääriäinen <anssi.kaariainen@thl.fi> | 2015-02-23 09:31:58 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-23 07:24:43 -0500 |
| commit | f95122e541df5bebb9b5ebb6226b0013e5edc893 (patch) | |
| tree | 3328b7328b5e8cc43848ff19f6561cbb8de339a6 /tests/admin_scripts | |
| parent | 78d43a5e1064b63db1c486516c4263ef1c4c975c (diff) | |
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.
Diffstat (limited to 'tests/admin_scripts')
0 files changed, 0 insertions, 0 deletions
