1
0
mirror of https://github.com/django/django.git synced 2025-01-27 10:39:40 +00:00
Anthony Joseph 0cb31fda4e
Fixed #22977 -- Added check for clash between model manager and model field's related_name.
New check added on model related fields to check if the `related_name` conflicts with the respective model's manager name.

With thanks to kswiat, loic, felixxm and russellm
2024-12-10 11:49:40 +11:00
..
2024-11-11 14:47:04 +01:00
2024-01-26 12:45:07 +01:00

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

    $ cd tests
    $ python -m pip install -e ..
    $ python -m pip install -r requirements/py3.txt
    $ ./runtests.py

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