Tim Graham b1dc128a03 [1.8.x] Fixed #24578 -- Fixed crash with QuerySet.update() on FK to O2O fields.
Thanks Anssi Kääriäinen for review.

Backport of 10b4c010ab2cdaa6ba8bfaec3e3540299ea77be from master
2015-04-09 08:24:07 -04:00
..
2013-12-24 12:25:17 +01:00
2013-12-24 12:25:17 +01:00
2013-02-26 10:00:14 +01:00

To run the test suite:

$ cd tests
$ pip install -r requirements/py3.txt  # or py2.txt
$ PYTHONPATH=..:$PYTHONPATH ./runtests.py

For more information about the test suite, see https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.