Django-stubs

Latest version: v5.0.2

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

Scan your dependencies

Page 6 of 9

1.3.0

* Mypy 0.750 support
* Django 3.0 support

1.2.0

New features
* Support for `filter/get/exclude` arguments typechecking
* Recognize third-party base `Model` classes
* Compatibility with mypy==0.730
* Better support for `django.contrib.auth` model classes
* No need for `PYTHONPATH = ${pwd}:$PYTHONPATH` anymore for mypy execution

and lots of bugfixes and stub improvements

1.1.0

* `QuerySet[MyModel]` annotation should be supported by the Pycharm IDE now
* Bunch of stability fixes and improvements to stubs

1.0.2

* Fix crash with `QuerySet` subclasses and `values()`

1.0.1

* Remove `psycopg2` dependency
* Add support for `values_list("foreign_key_id", flat=True)` to produce a `Collection[int]`

1.0.0

All previous config option are dropped, see
https://github.com/typeddjango/django-stubs#warning-all-configuration-from-pre-100-versions-is-dropped-use-one-below
for the new configuration of the plugin and some release details

Page 6 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.