Skip to content

Releases: typeddjango/django-stubs

v0.4.0

12 Feb 15:41
Compare
Choose a tag to compare
  • Support for typechecking of Model.__init__() and BaseManager.create() arguments
  • Add config file support with some available flags, see
    https://github.com/mkurnikov/django-stubs#configuration
  • Proper logic regarding default objects and _default_manager managers
  • Bunch of fixes and improvements for stubs
  • Bump mypy to 0.670

v0.3.0

03 Feb 19:02
Compare
Choose a tag to compare
  • Bunch of fixes / missing reimports.

v0.2.0

24 Jan 17:39
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

New features

  • Stubs for django.utils.dates.
  • Add objects attribute to models.Model, so now TypeVars with bound=models.Model work correctly.