What's Changed
This release updates recommended mypy version to 1.1.x.
Stubs fixes
- Annotate
BaseCreateView.object
attribute asModel | None
by @RyanWalker277 in #1377 - Fixed
ListFilter.expected_parameters()
return type by @pheki in #1373 - Fixed type of
AdminSite.site_url
to allowNone
by @LincolnPuzey in #1379 - Fixed
@vary_on_headers()
decorator to preserve decorated function type by @RyanWalker277 in #1370
Stubs additions
- Added argument
validate_constraints=
toModel.full_clean()
method by @lklivingstone in #1385 - Added
Model.validate_constraints()
method by @OvervCW in #1388
Housekeeping
- Update recommended mypy & CI to 1.1.1, update MultiValueDict by @intgr in #1391
- Release script: Also clean build directories before a build by @intgr in #1378
- Version 1.16.0 release by @intgr in #1396
New Contributors
- @pheki made their first contribution in #1373
- @LincolnPuzey made their first contribution in #1379
- @lklivingstone made their first contribution in #1385
- @OvervCW made their first contribution in #1388
Full Changelog: 1.15.0...1.16.0