Fix issues when the default id field is BigAutoField.

Review Request #14747 — Created Dec. 23, 2025 and updated — Latest diff uploaded

Information

Django Evolution
master

Reviewers

Django 6.0 changes the default type for automatically-added id fields to
use BigAutoField instead of AutoField. This change adds some compat
utilities to detect this, and updates tests to reflect the new types
that are used in this situation.

Ran unit tests.

Commits

Files