1
0
mirror of https://github.com/django/django.git synced 2025-03-06 07:22:32 +00:00
Ben Cail 1570ef02f3 Fixed #35223 -- Made Model.full_clean() ignore fields with db_default when validating empty values.
Thanks Brian Ibbotson for the report.

Regression in 7414704e88d73dafbcfbb85f9bc54cb6111439d3.
2024-03-08 05:55:25 +01:00
..
2024-01-26 12:45:07 +01:00
2024-01-26 12:45:07 +01:00
2024-01-26 12:45:07 +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/.