1
0
mirror of https://github.com/django/django.git synced 2025-03-16 12:20:46 +00:00
Tim Graham 8a13cddc26 [1.11.x] Fixed #28047 -- Fixed QuerySet.filter() crash when it uses the name of a OneToOneField pk.
Regression in 1bc249c2a67c24fcd28436c85388eff1d826e305.

Backport of fce782710160420d5c963bb33a6646542d91f40c from master
2017-04-10 11:52:10 -04:00
..
2016-11-14 12:30:46 -05:00
2016-11-14 12:30:46 -05:00
2016-11-14 12:30:46 -05:00
2016-11-14 12:30:46 -05:00
2016-11-14 12:30:46 -05:00

To run the test suite, first, create and activate a virtual environment. Then
install some requirements and run the tests::

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

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