What's Changed
- Update enums to reflect typing spec changes by @hauntsaninja in #2426
- Document compatibility considerations by @khink in #2430
- fix
.values_list
returns incorrect type for field with same name when selected from related model by @Niicck in #2431 - Bump django to 5.1.3 by @sobolevn in #2436
- Fix typing of related manager methods by @ngnpope in #2439
- Fix signature of
ModelAdmin.construct_change_message
by @youtux in #2444 - Update django to 5.1.4, drop black by @sobolevn in #2455
- Extend _AllLimitChoicesTo by @H4rryK4ne in #2456
- Marking default_error_messages as a ClassVar by @delfick in #2457
- Add deprecated decorators for multiple classes and methods by @JaeHyuckSa in #2458
- Update
contrib.admin.options.ModelAdmin
by @JaeHyuckSa in #2422 - Update
contrib.gis.gdal.geometries
by @JaeHyuckSa in #2460 - base.pyi: use base class HttpResponseBase by @dnet in #2459
- Update
contrib.admin.models.LogEntryManager
by @JaeHyuckSa in #2423 - Update mypy to 1.14 by @sobolevn in #2468
- Add py.typed file for pylance support by @ashwanthbalakrishnan5 in #2470
- Fix Signal._live_receivers typing by @mdalp in #2475
- Add type-checking to Manager.acreate by @vitosamson in #2477
New Contributors
- @hauntsaninja made their first contribution in #2426
- @khink made their first contribution in #2430
- @Niicck made their first contribution in #2431
- @youtux made their first contribution in #2444
- @H4rryK4ne made their first contribution in #2456
- @dnet made their first contribution in #2459
- @ashwanthbalakrishnan5 made their first contribution in #2470
- @mdalp made their first contribution in #2475
- @vitosamson made their first contribution in #2477
Full Changelog: 5.1.1...5.1.2