Django-stubs

Latest version: v5.1.3

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 10

4.2.4

Most important changes:
- This version add Mypy `1.5.*` support and update `[compatible-mypy]` extra to use `1.5.*`.
- We also update our stubs to be compatible with Django `4.2.5` (and all prior versions of `4.2`).
- `django_stubs_ext/` folder was renamed to be just `ext/`, it should not affect users (unless you install it from git)
- We no longer assume the `objects` attribute to be present on generic Model classes. As per the [django documentation](https://docs.djangoproject.com/en/4.2/topics/db/managers/#django.db.models.Model._default_manager), code working with generic models should use the `_default_manager` attribute instead.

This time there is no corresponding release of `django-stubs-ext`.

Plugin changes

- We now forbid to instantiate abstract models https://github.com/typeddjango/django-stubs/pull/1663 flaeppe
- Manager attributes are now `ClassVar`s https://github.com/typeddjango/django-stubs/pull/1672 flaeppe

Thanks a lot to all contributors and maintainers! 🎉

4.2.3

New Contributors
* JoeHitchen made their first contribution in https://github.com/typeddjango/django-stubs/pull/1600

**Full Changelog**: https://github.com/typeddjango/django-stubs/compare/4.2.2...4.2.3

4.2.2

New Contributors
* namper made their first contribution in https://github.com/typeddjango/django-stubs/pull/1521
* filbasi made their first contribution in https://github.com/typeddjango/django-stubs/pull/1544
* GabDug made their first contribution in https://github.com/typeddjango/django-stubs/pull/1567
* rvanlaar made their first contribution in https://github.com/typeddjango/django-stubs/pull/1562

**Full Changelog**: https://github.com/typeddjango/django-stubs/compare/4.2.1...4.2.2

4.2.1

New Contributors
* Kostia-K made their first contribution in https://github.com/typeddjango/django-stubs/pull/1465
* andrlik made their first contribution in https://github.com/typeddjango/django-stubs/pull/1492
* AkaZecik made their first contribution in https://github.com/typeddjango/django-stubs/pull/1497
* asottile made their first contribution in https://github.com/typeddjango/django-stubs/pull/1503
* Alexerson made their first contribution in https://github.com/typeddjango/django-stubs/pull/1488
* dlesbre made their first contribution in https://github.com/typeddjango/django-stubs/pull/1516

**Full Changelog**: https://github.com/typeddjango/django-stubs/compare/4.2.0...4.2.1

4.2.0

Deferred for next release
* Added `decorators.AsyncGetResponseCallable` Protocol, but is not yet used anywhere by RyanWalker277 in https://github.com/typeddjango/django-stubs/pull/1425
* Added `BaseModelMeta` for typing Model inner Meta class by intgr in https://github.com/typeddjango/django-stubs/pull/1375
* Rename `BaseModelMeta` to `TypedModelMeta` and document it by intgr in https://github.com/typeddjango/django-stubs/pull/1456

New Contributors
* realsuayip made their first contribution in https://github.com/typeddjango/django-stubs/pull/1418
* monosans made their first contribution in https://github.com/typeddjango/django-stubs/pull/1424
* karamanolev made their first contribution in https://github.com/typeddjango/django-stubs/pull/1438
* Kircheneer made their first contribution in https://github.com/typeddjango/django-stubs/pull/1436
* kjagiello made their first contribution in https://github.com/typeddjango/django-stubs/pull/1449
* alexmv made their first contribution in https://github.com/typeddjango/django-stubs/pull/1448
* bigfootjon made their first contribution in https://github.com/typeddjango/django-stubs/pull/1443

**Full Changelog**: https://github.com/typeddjango/django-stubs/compare/1.16.0...4.2.0

1.16.0

New Contributors
* pheki made their first contribution in https://github.com/typeddjango/django-stubs/pull/1373
* LincolnPuzey made their first contribution in https://github.com/typeddjango/django-stubs/pull/1379
* lklivingstone made their first contribution in https://github.com/typeddjango/django-stubs/pull/1385
* OvervCW made their first contribution in https://github.com/typeddjango/django-stubs/pull/1388

**Full Changelog**: https://github.com/typeddjango/django-stubs/compare/1.15.0...1.16.0


django-stubs-ext0.8.0
What's Changed
* Make `BaseConnectionHandler` generic in monkeypatching by adambirds in https://github.com/typeddjango/django-stubs/pull/1349
* Introduce `QuerySetAny` type for QuerySet isinstance checks by PIG208 in https://github.com/typeddjango/django-stubs/pull/1199
* Remove unintentional re-exports by intgr in https://github.com/typeddjango/django-stubs/pull/1309

Housekeeping
* Prepare django-stubs-ext 0.8.0 release by intgr in https://github.com/typeddjango/django-stubs/pull/1395

Page 3 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.