summaryrefslogtreecommitdiff
path: root/tests/admin_scripts
diff options
context:
space:
mode:
authorAnssi Kääriäinen <anssi.kaariainen@thl.fi>2015-02-23 09:31:58 +0200
committerTim Graham <timograham@gmail.com>2015-02-23 07:26:10 -0500
commit155a127afbd531180eaa2fd875fe111178cfb64c (patch)
treec0f84333f118405e8c19aea108a76cd914eaab2f /tests/admin_scripts
parent980dfca7174a3e00a214ad554bb9199529139796 (diff)
[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 f95122e541df5bebb9b5ebb6226b0013e5edc893 from master
Diffstat (limited to 'tests/admin_scripts')
0 files changed, 0 insertions, 0 deletions