Releases: typeddjango/django-stubs
Releases · typeddjango/django-stubs
v0.11.1
v0.11.0
v0.10.0
- Support for proper return types of
values()
andvalues_list
, thanks to @syastrov. - Add all reimports for
forms.__init__.pyi
. - Make constructor annotations for
django.core.validators
classes less specific, thanks to @kalekseev. - Fix many false positives inside the stubs itself.
v0.9.0
- Support returning the correct values for the different QuerySet methods when using .values() and .values_list(). Contributed by @syastrov
- Fix type errors on other models' managers when using objects = models.Manager() in Model. Contributed by @syastrov
- Add
gzip_page
decorator. Contributed by @mattbasta
v0.8.2
v0.8.1
v0.8.0
v0.7.0
v0.6.0
v0.5.0
- Return proper types from
django.shortcuts.get_object_or_404
anddjango.shortcuts.get_list_or_404
. https://github.com/mkurnikov/django-stubs/issues/22 - Add plugin support for
django.contrib.auth.get_user_model()
https://github.com/mkurnikov/django-stubs/issues/16 - Do not give "Unexpected attribute ..." false positive, if returned field type is
Any
. - Add support for default related managers https://github.com/mkurnikov/django-stubs/issues/18.