Django-stubs

Latest version: v5.0.2

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

Scan your dependencies

Page 8 of 9

0.8.2

- Fix importing of `django.views` package
- `blank=True` doesn't make `CharField` nullable now, thanks to Naddiseo

0.8.1

- Add linting
- Fix annotations for `MultiValueDict`
- Remove dependency on Django itself

0.8.0

- Plugin support for `FormMixin`'s `get_form()` and `get_form_class()`
- Proper annotations for `QuerySet.in_bulk()`, thanks to syastrov

0.7.0

- `transaction.atomic` reworked, thanks to syastrov
- Add support for referring to models in the same file by name string in related fields

0.6.0

- Add `strict_optional = True` support

0.5.0

- Return proper types from `django.shortcuts.get_object_or_404` and `django.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.

Page 8 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.