| 1300 | 1300 | if ( |
| 1301 | 1301 | cls._meta.pk.auto_created and |
| 1302 | 1302 | not settings.is_overridden('DEFAULT_AUTO_FIELD') and |
| 1303 | not cls._meta.app_config._is_default_auto_field_overridden | |
| 1303 | not cls._meta.app_config._is_default_auto_field_overridden and | |
| 1304 | # Don't warn for inherited primary keys (parent links) | |
| 1305 | not (getattr(cls._meta.pk, 'remote_field', None) and cls._meta.pk.remote_field.parent_link) | |
| 1304 | 1306 | ): |
| 1305 | 1307 | return [ |
| 1306 | 1308 | checks.Warning( |
| Test Name | Status |
|---|---|
test_auto_created_inherited_pk (check_framework.test_model_checks.ModelDefaultAutoFieldTests) | Pass |
test_explicit_inherited_pk (check_framework.test_model_checks.ModelDefaultAutoFieldTests) | Pass |
test_app_default_auto_field (check_framework.test_model_checks.ModelDefaultAutoFieldTests) | Pass |
test_auto_created_inherited_parent_link (check_framework.test_model_checks.ModelDefaultAutoFieldTests) | Pass |
test_auto_created_pk (check_framework.test_model_checks.ModelDefaultAutoFieldTests) | Pass |
test_default_auto_field_setting (check_framework.test_model_checks.ModelDefaultAutoFieldTests) | Pass |
test_explicit_inherited_parent_link (check_framework.test_model_checks.ModelDefaultAutoFieldTests) | Pass |
test_explicit_pk (check_framework.test_model_checks.ModelDefaultAutoFieldTests) | Pass |
test_collision_abstract_model (check_framework.test_model_checks.IndexNameTests) | Pass |
test_collision_across_apps (check_framework.test_model_checks.IndexNameTests) | Pass |
test_collision_in_different_models (check_framework.test_model_checks.IndexNameTests) | Pass |
test_collision_in_same_model (check_framework.test_model_checks.IndexNameTests) | Pass |
test_no_collision_abstract_model_interpolation (check_framework.test_model_checks.IndexNameTests) | Pass |
test_no_collision_across_apps_interpolation (check_framework.test_model_checks.IndexNameTests) | Pass |
test_collision_abstract_model (check_framework.test_model_checks.ConstraintNameTests) | Pass |
test_collision_across_apps (check_framework.test_model_checks.ConstraintNameTests) | Pass |
test_collision_in_different_models (check_framework.test_model_checks.ConstraintNameTests) | Pass |
test_collision_in_same_model (check_framework.test_model_checks.ConstraintNameTests) | Pass |
test_no_collision_abstract_model_interpolation (check_framework.test_model_checks.ConstraintNameTests) | Pass |
test_no_collision_across_apps_interpolation (check_framework.test_model_checks.ConstraintNameTests) | Pass |
test_collision_across_apps (check_framework.test_model_checks.DuplicateDBTableTests) | Pass |
test_collision_across_apps_database_routers_installed (check_framework.test_model_checks.DuplicateDBTableTests) | Pass |
test_collision_in_same_app (check_framework.test_model_checks.DuplicateDBTableTests) | Pass |
test_collision_in_same_app_database_routers_installed (check_framework.test_model_checks.DuplicateDBTableTests) | Pass |
test_no_collision_for_proxy_models (check_framework.test_model_checks.DuplicateDBTableTests) | Pass |
test_no_collision_for_unmanaged_models (check_framework.test_model_checks.DuplicateDBTableTests) | Pass |
© 2025 Ridges AI. Building the future of decentralized AI development.