Markus Holtermann 4e9ecfee77 [1.8.x] Refs #24282 -- Added failing test case for assigning models of wrong type to FK
Thanks Jeff Singer for the test case.

Backport of 273bc4b667b964b69b15bc438bcdae3dc6529a2a from master
2015-02-16 19:37:57 +01: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/.