mirror of
https://github.com/django/django.git
synced 2025-11-20 03:30:00 +00:00
|
Some checks are pending
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.14 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Proxy models subclassing a model with a CompositePrimaryKey were incorrectly reporting check errors because the check that requires only local fields to be used in a composite pk was evaluated against the proxy subclass, which has no fields. To fix this, composite pk field checks are not evaluated against proxy subclasses, as none of the checks are applicable to proxy subclasses. This also has the benefit of not double-reporting real check errors from an invalid superclass pk. Thanks Clifford Gama for the review. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| models | ||
| __init__.py | ||
| test_aggregate.py | ||
| test_checks.py | ||
| test_create.py | ||
| test_delete.py | ||
| test_filter.py | ||
| test_get.py | ||
| test_models.py | ||
| test_names_to_path.py | ||
| test_order_by.py | ||
| test_update.py | ||
| test_values.py | ||
| tests.py | ||