github typeddjango/django-stubs 5.0.0

19 days ago

Announcements

  • QuerySet class no longer derives from Collection. If you run into errors like incompatible type "_QuerySet[User, User]"; expected "Collection[User]", please read this announcement.

Headline changes

  • Remove incorrect Collection base class and __contains__ method from QuerySet by @fidoriel in #1925
  • Pyright joins the workflow in an advisory capacity by @jorenham in #2019
  • feat: Allow setting django_settings_module from env by @armanckeser in #2021
  • Add ManyRelatedManager.through attribute and generic type parameter by @flaeppe in #2026

What's Changed

New Contributors

Full Changelog: 4.2.7...5.0.0

Don't miss a new django-stubs release

NewReleases is sending notifications on new releases.