Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/typeddjango/django-stubs
PEP-484 stubs for Django
https://github.com/typeddjango/django-stubs
* cache_page can use None .
* Apply black
ab50fb987604445d13285bf4a21511428da951ff authored almost 3 years ago by Joon Hwan 김준환 <[email protected]>* Update cache.pyi
* Apply black
319ab7f9f752b73cedf01f6acd41532478a92eeb authored almost 3 years ago by Joon Hwan 김준환 <[email protected]>
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.0.0 to 7.0.1.
- [Release notes](htt...
Matches return type of MigrationLoader.applied_migrations, which reads from here.
bf84546b9e9358a39993792722571f854f177d83 authored almost 3 years ago by Jacob Walls <[email protected]>* DatabaseClient: add missing class method `settings_to_cmd_args_env` and add missing arg to `ru...
3eab36a5c4af0500e2d66e7e4e958112c904fb28 authored almost 3 years ago by Kevin Marsh <[email protected]>
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.5 to 7.0.0.
- [Release notes](htt...
According to the docstring for this function, "the instantiated module can be placed in the dict...
74083c9f8a827b13acd96cf9f5fd1513e15853d1 authored almost 3 years ago by Rob Percival <[email protected]>
Bumps [black](https://github.com/psf/black) from 21.12b0 to 22.1.0.
- [Release notes](https://g...
* `Model.__init__` supporting same typing as assigment
* Update mypy_django_plugin/django/con...
8aae836a26f05dc0e8eedaa30b9bb16b2f5e0a86 authored almost 3 years ago by Petter Friberg <[email protected]>
KeyError: "Failed qualified lookup: '_AnyAttrAllowed' (fullname =
'django._AnyAttrAllowed')."
...
28d6dc992c9c76e8fdcc428afe952dad1bf95ff3 authored almost 3 years ago by Cory Dolphin <[email protected]>
* _default_manager has more specific type for TypeVars
* remove unnecessary # type: ignore
...
73290597f876438374f224bf83a747a1bf041180 authored almost 3 years ago by emma-blossom <[email protected]>
While `object_list` isn't defined at construction, `BaseListView.get()`
sets it when handling a...
5d3768e593e3c5ac30f6da3063492ee6c787e566 authored almost 3 years ago by rolandcrosby-check <[email protected]>
* Fix .filter-kwargs lookup crash during cached runs
* Update mypy_django_plugin/lib/helpers....
515e382d4a5eaa938e1949852df6349d69c132df authored almost 3 years ago by Petter Friberg <[email protected]>220f0e4cf09df170427bd83ee63f7cbe84f223f5 authored almost 3 years ago by Petter Friberg <[email protected]>
* Refactor to more easily support additional config options
* Notify when Manager.from_querys...
edec5a1c99a784208d5d8ce78237016cdaa1c54f authored almost 3 years ago by Petter Friberg <[email protected]>
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.16.0 to 2.17.0.
- [Release ...
c04201c859e9c185d8f88feff00a115d9778f6ee authored almost 3 years ago by Nikita Sobolev <[email protected]>
5bbe353e92e33557d3770079e9f8eaf464c8d68e authored almost 3 years ago by sobolevn <[email protected]>
27e5908762e651c352a73a9b46611f958a6b31ab authored almost 3 years ago by Aleksander Vognild Burkow <[email protected]>
a9e41a8ba97820cb6be7d85083dce23cab3ba2c1 authored almost 3 years ago by Petter Friberg <[email protected]>
Instead of copying methods over from a QuerySet passed to a basemanager
when invoking '<BaseMan...
The `extra_context` argument to `ModelAdmin.changeform_view`,
`add_view`, `change_view`, `chang...
* Allow List[Tuple[Any]] as args_generator argument to format_html_join
format_html_join's ar...
3c1e9e388425853859c112eafa008f4f5ea877f4 authored almost 3 years ago by rolandcrosby-check <[email protected]>Bumps [pytest-mypy-plugins](https://github.com/TypedDjango/pytest-mypy-plugins) from 1.9.2 to 1....
4cdf8a8d39a4b31003d2a94040224c27d3248420 authored almost 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>* Fix annotation of ModelAdmin.get_object
The type annotation in django-stubs indicated that ...
7701957e4f5fac437b6b027a40e5aaeb26b87a5a authored about 3 years ago by rolandcrosby-check <[email protected]>
Bumps [requests](https://github.com/psf/requests) from 2.27.0 to 2.27.1.
- [Release notes](http...
* Allow expressions in UniqueConstraint
* Use ellipsis
* And for fields
118f50307cd29b8c836cd882f7a8ee2f7f8aa82d authored about 3 years ago by Tom Carrick <[email protected]>- the change was made in the commit https://github.com/django/django/commit/cd124295d882e13cff55...
3761c16c511672e088bf3f6a23c25ff97781fb3c authored about 3 years ago by Abhyudai <[email protected]>c65e2c48dbc2c8c01f35197162a7eb2121bd7b50 authored about 3 years ago by Gergely Kalmár <[email protected]>
ed68fbc99f372bd6884433f44eb64748dfd4f228 authored about 3 years ago by Nikita Sobolev <[email protected]>
9cad4fbfeb07a3f91b2c9ee6831618126ea5c941 authored about 3 years ago by Nikita Sobolev <[email protected]>
Bumps [requests](https://github.com/psf/requests) from 2.26.0 to 2.27.0.
- [Release notes](http...
49bed6c28dd35af7a5096786d2f8f8ef7c1cbd1f authored about 3 years ago by Carl Johan Hambro <[email protected]>
* Update syndication Feed class
* Fix typing
3b02222beba43bcb52313608926f0803dee597f3 authored about 3 years ago by Gabriel Augendre <[email protected]>9483865284bfe199961085d52765a83270e84611 authored about 3 years ago by Cory Dolphin <[email protected]>
get_object's default implementation returns None but subclasses
are allowed to override this me...
3b303480b37cec67fe7e7ad5282c3c1658e1339f authored about 3 years ago by sobolevn <[email protected]>
b883e192e49535d7bac91b7fd85c8b2d8ccf3e88 authored about 3 years ago by Nikita Sobolev <[email protected]>
Set types for on_delete functions so they can be provided as values to
the on_delete attribute ...
* Updates deps
* Updates deps
feb0bfa4a6f27c6804c6ec7f6035e29480ca84e0 authored about 3 years ago by Nikita Sobolev <[email protected]>* Replace `toml` with `tomli`
* Replace `toml` with `tomli`
02a39f722d044ac4ad8ddc523b9939dfe420f3c1 authored about 3 years ago by Nikita Sobolev <[email protected]>* Adds [email protected] support
* Fixes CI
* Fixes CI
* Ignore new error for django4.0
* F...
b50a9077f816f666ea71e9e41e465f3d999cdd6b authored about 3 years ago by Nikita Sobolev <[email protected]>e9b328a9354c085dec0c1fc8bb1f973f9e89ef40 authored about 3 years ago by sobolevn <[email protected]>
* Refs #774
* Update test_create.yml
eb80b949af1b99f257cb3107241453c83d978a4b authored about 3 years ago by Nikita Sobolev <[email protected]>1219d62b6a04097cec85446f0e96a313005d9f01 authored about 3 years ago by Chris Beaven <[email protected]>
* Update autoreload stub to Django 3.2
* Fix some subclass return types
* types for watchm...
daf6c659f05c00fa694ff48f745deaa97d52aac5 authored about 3 years ago by Chris Beaven <[email protected]>
This PR fixes the type of get_field so it won't report errors in
Pyright's strictest type check...
ccbbf86d0e56c29adc93165c7a48a9a1135ff8a7 authored about 3 years ago by Vadim Safonov <[email protected]>
69d4b1a86dc359d38a0c5ff6fed4e0dd9885abd9 authored about 3 years ago by Chris Beaven <[email protected]>
6436a10d5a0f5c62114d0e30ef24a7faf4ce6e3e authored about 3 years ago by Marti Raudsepp <[email protected]>
79d34d6f46e7c24688fdb64de4b6a037dcf518a3 authored about 3 years ago by Marti Raudsepp <[email protected]>
e5361f1e043f16363263319ed2de6b81bbb67ccd authored about 3 years ago by Kevin Marsh <[email protected]>
593d04d6e9dd44089e823651e6c5b4af3956c2cc authored about 3 years ago by Stanislav Mikhailov <[email protected]>
This is a context manager, not an iterator.
Currently mypy will complain if it's used as docu...
a57ae4fc76c791774b9a953cc2b3244a226f23a1 authored about 3 years ago by Sigurd Ljødal <[email protected]>
Django 3.2 introduced two new methods: `sign_object` and
`unsign_object` which can sign/unsign ...
There is no need for a specific List type here, using a higher type
works fine and allows more ...
48aaf3d2ace9c6e98ce602c4f1c44762c5641f29 authored about 3 years ago by Petter Friberg <[email protected]>
640553dcd7d5bb61234409fb79904ee0ea9f857a authored about 3 years ago by Chris Beaven <[email protected]>
95060b54c21d007f6b2a8d98c2f9e6ed1bedaed2 authored about 3 years ago by Yukio Mizuta <[email protected]>
An optional key can be provided to these functions.
09c3dc894b1a78fb5d106a12b996854dd58303e1 authored about 3 years ago by Simon Charette <[email protected]>9482f2f81c0fc8982c9220f3ee6647023b3f034b authored about 3 years ago by 星 <[email protected]>
See: https://github.com/django/django/blob/f5802a21c401b92764a9f3e2886144f3c5d77573/django/core/...
676750e090a4ca046cfe6eb741f8ea246764a232 authored about 3 years ago by Brian Helba <[email protected]>* Correct the type of FileField.storage
This instance property can't be a callable. Although ...
7c87c720adf27dc6024acef611e16ae9b567aa43 authored about 3 years ago by Brian Helba <[email protected]>* Add failing test for relation to model inheriting `objects`
Fails with:
```
pytest_mypy_p...
* Fixes CI
* Fixes CI
* Fixes CI
7ac33f3a283d017ae149ed567b57890f5b1a50ab authored about 3 years ago by Nikita Sobolev <[email protected]>fb125609818057dff8aad807637b3ca9cca5e194 authored over 3 years ago by Terence Honles <[email protected]>
While the documentation for `HttpResponse` and `StreamingHttpResponse`
*says* `content` and `st...
fb4d20475b204493853234f9e02813bbc991fe1c authored over 3 years ago by Terence Honles <[email protected]>
* Add SmallAutoField
* Test SmallAutoField presents as int
a1f3712c4334efa2cb461b727b673857c674d0e4 authored over 3 years ago by Craig <[email protected]>372b1340a096ee86e2a3b8148ae591bcc1232dc2 authored over 3 years ago by sobolevn <[email protected]>
Resolves: https://github.com/typeddjango/django-stubs/issues/703
6424e33a740523ea3276e9c0e046b6bac43fecc3 authored over 3 years ago by Eero Ruohola <[email protected]>
Needed, because `django-stubs-ext` generally has to specified as a
production dependency (to us...
f98330356c663b9dddfe029d28c9968008098a4d authored over 3 years ago by Nikita Sobolev <[email protected]>
a33d8a9e59613efaa6c37bfc8ae3b88e4c751f51 authored over 3 years ago by sobolevn <[email protected]>
d6ccecdd73481128e68a0c86a819e704758deeee authored over 3 years ago by sobolevn <[email protected]>
321284ac62313333c9f5895799b02d2d99282e10 authored over 3 years ago by sobolevn <[email protected]>
a0f893ea3d422b39919294ee71cd9e55d00a9055 authored over 3 years ago by sobolevn <[email protected]>
* Use `Sequence` instead of `Iterable` for `send_messages`.
According to the documentation
(...
a6a81797d3b9e8f5f4ee535520b749a7da0c97fa authored over 3 years ago by PIG208 <[email protected]>
8674c48c596b7e3eee8f7d51467e98c7f66fe2f3 authored over 3 years ago by PIG208 <[email protected]>
types for their properties
44f7c25a4e533e37c2ca4ef80a067e0c5e1733cc authored over 3 years ago by Tim Nyborg <[email protected]>696f39b58c9163abbb00705f22754eb5f6f15de4 authored over 3 years ago by Abhyudai <[email protected]>
01eecf901f5a3d2521b4c2d349fd95629fc1e5f5 authored over 3 years ago by Abhyudai <[email protected]>
695a7d71a7a228345bc068b8109c8027457b5887 authored over 3 years ago by Abhyudai <[email protected]>
* Fix `MyModel.objects.filter(...).my_method()`
* Fix regression: `MyModel.objects.filter(......
8da8ab486232713da5bb3532e5f0252d0d4b8b1a authored over 3 years ago by Seth Yastrov <[email protected]>
This matches the actual implementation in Django, where it only attempts
to use the result of g...
0d7c32f38e3b9f1a59cf66b022237df64a024990 authored over 3 years ago by Richard Xia <[email protected]>
The `display` decorator is defined in `django.contrib.admin.decorators`, but
isn't included in ...
* Add accepts method to HttpRequest stubs
The accepts method (and dependencies) was missing i...
d29dacd64b722d94a8fc9b38ea93ed4f48c6f710 authored over 3 years ago by snmishra <[email protected]>* Add datetime to set_type of DateTimeField
`DateTimeField` was missing `datetime` as a valid...
ee51aa4bf8da3b26c651f08e9055aedc047c422e authored over 3 years ago by snmishra <[email protected]>Co-authored-by: sobolevn <[email protected]>
ee9c0d4a3222a2fe3ff9fcf90cbd7db408157cef authored over 3 years ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>* QuerySet.annotate returns self-type. Attribute access falls back to Any.
- QuerySets that h...
cfd69c0acc4bb3c282cab4a411b014afe280d359 authored over 3 years ago by Seth Yastrov <[email protected]>Fixes #503
c69e720dd86d28ed7a7ddb8034503fcc5e1db861 authored over 3 years ago by Tim Nyborg <[email protected]>* widen type of make_password's hasher
make_password will accept a subclass of BasePasswordHa...
2a9410f3b11e48747c907599d9b05866fc66f80d authored over 3 years ago by Tim Nyborg <[email protected]>cc5d363cfaa9b1c317e064c5e80381ce6843d1fc authored over 3 years ago by Petter Friberg <[email protected]>
* fix(BaseCache): corrected return type of get_many func
* fix(basecache): made required changes
446589e133e99debbcbe0f17d9f974ff68c02dbd authored over 3 years ago by Abhishek Chaudhary <[email protected]>* Better linting config
* Applies isort on django-stubs, only style changes
* Fixes black ...
d5e45db79bcea6d6f4f45eacca3a2fe6e125e2e3 authored over 3 years ago by Nikita Sobolev <[email protected]>* Adds more rules to mypy config, related #662
* Removes plugin.ini for mypy settings
* Fi...
552f2ffc0c2481b592b9f634c245c615acf48c7f authored over 3 years ago by Nikita Sobolev <[email protected]>