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

Made BaseContext __setitem__ and __getitem__ consistant. (#1040)

* Made BaseContext __setitem__ and __getitem__ consistant.

* Standardised ContextKeys

2e84c03632dad96d5cb670922791e95923528210 authored over 2 years ago by David Smith <[email protected]>
Use `_AsSqlType` for `as_sql` (#1052)

* Annotate the return type of as_sql for SpatialOperator.

Its subclasses inherits the type an...

3648e103501a97823491a54a83eeb6fed9d4b06d authored over 2 years ago by PIG208 <[email protected]>
Bump pre-commit from 2.19.0 to 2.20.0 (#1057)

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.19.0 to 2.20.0.
- [Release ...

29f07625409c6c3612e7ac355dc6517b02a685fd authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Monkeypatch some more generics. (#1050)

* Add generic monkeypatching for `FileProxyMixin`.

This fixes `TypeError: 'type' object is no...

e8d52fe7daf88cfe7db5d0dd312e1b5946577051 authored over 2 years ago by Nick Pope <[email protected]>
Improve stubs with minor fixes (#1038)

* Add a missing attribute to Jinja2.

https://github.com/django/django/blob/main/django/templa...

516deba2fa71b77618e652c9b51bca8e1c8a2394 authored over 2 years ago by PIG208 <[email protected]>
Fix type stubs for EmptyManager (#1039)

This should be parametrized based on the passed model. This also removes
the need for overridin...

ae305254042d215a3e64134dcd8a7a0948c14f67 authored over 2 years ago by Sigurd Ljødal <[email protected]>
Populate model argument for dynamically created managers (#1033)

* Populate model for dynamically created managers

* fixup! Populate model for dynamically cre...

2a6f4647f083b2a9cd728b7e5698dc76c59b5449 authored over 2 years ago by Petter Friberg <[email protected]>
Resolve all queryset methods on managers as attributes (#1028)

* Add test case reproducing Sequence name not defined issue

* Resolve all manager methods as ...

84eff755661c3c498c36e66b7ff0b6cc8fc3d4bb authored over 2 years ago by Sigurd Ljødal <[email protected]>
Improved return type of render_to_string(). (#1036)

f8cc99ca3b23ceb9840fdf9ecf4cc354f4b9459a authored over 2 years ago by David Smith <[email protected]>
Bump requests from 2.28.0 to 2.28.1 (#1035)

Bumps [requests](https://github.com/psf/requests) from 2.28.0 to 2.28.1.
- [Release notes](http...

c27b38d6b9d9d83fabd252be1c42b7119ef40c92 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Support cursor.execute(psycopg2.sql.Composable) (#1029)

In addition to str, PostgreSQL cursors accept the
psycopg2.sql.Composable type, which is useful...

214b0c7439d67b423815515c49eda8ecf0d62bfa authored over 2 years ago by Anders Kaseorg <[email protected]>
Fix `logger` type in all modules (#1031)

* Fix `logger` type in all modules

* Fix CI

33d4dc7dae8fb825d3804887a14d7594dc655abf authored over 2 years ago by Nikita Sobolev <[email protected]>
Bump black from 22.3.0 to 22.6.0 (#1027)

Bumps [black](https://github.com/psf/black) from 22.3.0 to 22.6.0.
- [Release notes](https://gi...

fe2d2287a1e02d35e012d39fedfe8ab0bde19308 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Improved type of template.loader.get_template() (#1011)

* Improved type of template.loader.get_template()

* Removed Optional from return type.

* E...

926661ab4ae50ad4796ebe9f15a269f7a18a45c4 authored over 2 years ago by David Smith <[email protected]>
Fix nullability of blank charfields in values and values_list (#1020)

Char fields with blank=True set should not be considered nullable in the
context of values() an...

1a29ad4f974915301ce3fbaa33dde71d9bd5d1a9 authored over 2 years ago by Sigurd Ljødal <[email protected]>
Add missing type for TestCase.captureOnCommitCallbacks (#1016)

* add missing type for TestCase.captureOnCommitCallbacks

* change default value

dd0fe02367e7e4a74a5ed5053154f3e67bf48c36 authored over 2 years ago by Jakub Hrabec <[email protected]>
BaseContext.__copy__ (#1012)

* Improved BaseContext.__copy__()

* Update django-stubs/template/context.pyi

Co-authored-b...

44157a4b03b6a59228bd11c95b37ad3927cede92 authored over 2 years ago by David Smith <[email protected]>
Update RunSQL type to include parametrized sql (#1015)

* update RunSQL type to include parametrized sql

* fix Black formatting

c020349f2e495edf8b96fb302a2b71b82cb0db7c authored over 2 years ago by Jakub Hrabec <[email protected]>
Set generic type of SimpleCookie (#1018)

Pyright complains about `response.cookies` because the generic type isn't known. `str` may or ma...

644052148aec0114daf3d75a18f9bab48057ff17 authored over 2 years ago by w0rp <[email protected]>
Do not generate release notes for django-stubs-ext

f4407155a56a50f70872d793ae365bd7d1a8691e authored over 2 years ago by sobolevn <[email protected]>
Fixing release pipeline

d6a9a4ef03b589cf82954bf229b920102a16e3d2 authored over 2 years ago by sobolevn <[email protected]>
Fixing release pipeline

9a23ff864b24cc55061bc9e1661b54c95782cbde authored over 2 years ago by sobolevn <[email protected]>
Add explicit test for `.from_quertset` Any fallback

4ea9b874f522bd466e73ea38af61925cb28cdfbe authored over 2 years ago by sobolevn <[email protected]>
Emit error and set fallback type for managers that can't be resolved (#999)

* Emit error and set fallback type for managers that can't be resolved

* fixup! Emit error an...

023106fe45be4c39386b7ad3e395d5823f60eb88 authored over 2 years ago by Petter Friberg <[email protected]>
Fix release pipeline

719cd3a6bc8da261ada0ea1a2332d204259a29e9 authored over 2 years ago by sobolevn <[email protected]>
Fix release pipeline

4cf3b445bd1f3b6c32c33035089aa937440018b8 authored over 2 years ago by sobolevn <[email protected]>
Release django-stubs and django-stubs-ext

f4378112bb8ac3039ff64072646bf27c4e8ead2d authored over 2 years ago by sobolevn <[email protected]>
Add Feed to monkeypatch to fix generic issue. (#1002)

Fixes #1001

86c007d83f1fe895944bc3e6a33872408d611c00 authored over 2 years ago by Adam Birds <[email protected]>
Update README.md

633030585d272899ca960a6cb0300921ce359657 authored over 2 years ago by Nikita Sobolev <[email protected]>
Set type of default `django.core.cache.cache` to `BaseCache` (#998)

* Set type of default `django.core.cache` to `BaseCache`

- The previous type `ConnectionProxy...

8d8b8cd1fc8b54eac799905dbbffc4e21708b6da authored over 2 years ago by Petter Friberg <[email protected]>
Improve hints in migration Operation class (#996)

e45ecd633ecf5d6770daec6169a6d13e7e838308 authored over 2 years ago by Marti Raudsepp <[email protected]>
Add fallback related manager in final iteration of AddRelatedManagers (#993)

If a django model has a Manager class that cannot be resolved statically
(if it is generated in...

9044a354cb5ab5fc08355b17d0f48cb1bdb26831 authored over 2 years ago by Aleksander Vognild Burkow <[email protected]>
Fix manager types scope (#991)

* Fix manager types scope

* Restore incremental mode and mention in developer docs

* Separ...

32e13c37a6c4b8e1318ffa6117a03906aab66e5a authored over 2 years ago by sterliakov <[email protected]>
Improve admin filter lookups() return type (#992)

ae5b1a4edf917eda180267c40a5785f73182a356 authored over 2 years ago by Adam Johnson <[email protected]>
Bump actions/setup-python from 3 to 4 (#989)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release n...

6e84c103af09d3152a11b53636e59a92b3e3a131 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump requests from 2.27.1 to 2.28.0 (#990)

Bumps [requests](https://github.com/psf/requests) from 2.27.1 to 2.28.0.
- [Release notes](http...

b6cd673e4cb7304c94a26c88e9540357043d620b authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Enable GitHub auto generated release notes for GitHub releases (#988)

1ce113d74342cce0e64d3763536c2ca3f9f0916e authored over 2 years ago by Terence Honles <[email protected]>
Remove coreapi from requirements.txt (#987)

f7ccf040824deceffa22f62d721eb865a2ee1dec authored over 2 years ago by Zac Miller <[email protected]>
remove unneeded submodule (removed in #485) (#982)

a526ba75be54f4dfc24d68fca8b4ed3e7d41ce11 authored over 2 years ago by Terence Honles <[email protected]>
Improve admin filter types (#984)

13c09921f8effa9a93f7f0c0335d24a2369f6aee authored over 2 years ago by Adam Johnson <[email protected]>
Bump mypy from 0.960 to 0.961 (#983)

Bumps [mypy](https://github.com/python/mypy) from 0.960 to 0.961.
- [Release notes](https://git...

195aaad1fe690e6279def8946b6191b6801056f9 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Add GitHub release action to upload to PyPI & create GitHub release (#980)

* Add GitHub release action to upload to PyPI & create GitHub release

* Update .github/workfl...

42321cabe6c75b1216e0c90d1d3f014b05c339f4 authored over 2 years ago by Terence Honles <[email protected]>
Move mypy version upper bound to a [compatible-mypy] extra (#979)

* Move mypy version upper bound to a [compatible-mypy] extra

Due to a bug in mypy 0.940 (#870...

24a3b22c60448b79647dfab8c12cb7d29da4ba65 authored over 2 years ago by Anders Kaseorg <[email protected]>
Fix BaseModelFormSet.save_m2m: accept `self` (#970)

* Fix BaseModelFormSet.save_m2m: accept `self`

Before it would result in the following when c...

43b082850c8ca4e00194165f02be798a0943fb21 authored over 2 years ago by Daniel Hahler <[email protected]>
Support content attribute for a Testing Response. (#968)

`content` is a documented attribute of a testing response which isn't part
of the parent HttpRe...

42d8e18bf8d35482cdb4935866bd35304a74fc9d authored over 2 years ago by Ceesjan Luiten <[email protected]>
Fix AlterModelManagers managers annotation to be [(str, Manager), ...] (#966)

Django generates AlterModelManagers with Sequence[Tuple[str, Manager]]
arguments — not Sequence...

0a13d2c653142d356ba0152abd079c0f8b44dd40 authored over 2 years ago by Alex Dutton <[email protected]>
Fix false positive ModelAdmin.list_display_links=None (#964)

* Fix false positive ModelAdmin.list_display_links=None

list_display_links can be set to None...

fc6fae192e4e1cc652c868d4da8e6bfb11d4ca18 authored over 2 years ago by Allex <[email protected]>
Upgrade mypy support to 0.960 (#973)

- Updates test_model_field_classes_from_existing_locations to account
for the behaviour chang...

2351051ef1d79cf3d455f4636e5094b44a84d677 authored over 2 years ago by Damian Zaremba <[email protected]>
bump version to 1.11.0 (#961)

4a90ad9edc280ddc3e4b3abc1f7e108e94992a0e authored over 2 years ago by Maksim Kurnikov <[email protected]>
Sync django.contrib.gis.gdal with upstream (#956)

e221f0e0533c98417ed726cba764b5f6282442f8 authored over 2 years ago by Mattias Jakobsson <[email protected]>
Support passing extra classes to monkeypatch (#953)

* Support passing extra classes to monkeypatch

Closes https://github.com/typeddjango/django-s...

8fe2bd4b9b6c6b13d893d33eddb12b9118d5aa94 authored over 2 years ago by henribru <[email protected]>
Fix type for related fields in values_list querysets (#955)

When fetching a related field in a values_list queryset Django will
return the object primary k...

ccef6779adab2ce0a9ff60c4b256d5d72dbd28a4 authored over 2 years ago by Sigurd Ljødal <[email protected]>
Fix type stubs for OuterRef (#952)

* Fix error when nesting OuterRef expressions

OuterRef(OuterRef("my_field")) is a valid expre...

724442b24118a242d4e1875fe6a53b8d00036d2c authored over 2 years ago by Sigurd Ljødal <[email protected]>
Fix type of min_value and max_value on DecimalField (#951)

* Fix type of min_value and max_value on DecimalField

These should at the very least allow De...

7d84e5473a42ddc8222491748114570b69831885 authored over 2 years ago by Sigurd Ljødal <[email protected]>
Improve type hints of URL conf & include() (#949)

* Improve type hints of URL conf & include()

The type of `urlpatterns` list is `List[Union[UR...

1a36c6c379693ed4a472058748e00473cd229eac authored over 2 years ago by Marti Raudsepp <[email protected]>
Bump pre-commit from 2.18.1 to 2.19.0 (#950)

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.18.1 to 2.19.0.
- [Release ...

4a5d330228680a27699d029d3d0656b3b02c57f5 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Move `release.sh` to `scripts/`

69d5aa94b01491cc0ea4688e9e196962739a7666 authored over 2 years ago by sobolevn <[email protected]>
Bump mypy 0.950 (#939)

* Bump mypy to 0.95x

* Remove the * for inferred types

There was an upstream change (https...

2ef7ff33091316d02f51950cbfccc12ba434afb8 authored over 2 years ago by Damian Zaremba <[email protected]>
Fix typecheck default Django version (#944)

Currently running `typecheck_tests.py` without arguments fails with "KeyError: '3.0'"

0caee74490f5b01205c11e5ca0ce732b80cfd37b authored over 2 years ago by Marti Raudsepp <[email protected]>
Update SimpleTestCase.assert method response types (#942)

Since PR 909, SimpleTestCase.client.get() etc methods return a class that no longer derives from...

e0f45e4778b2f0792447d69092aeaa128667cf08 authored over 2 years ago by Marti Raudsepp <[email protected]>
Fix URLPattern, URLResolver pattern type (#941)

f7b6a7beb402ed44080e50e79250b492e25b1a16 authored over 2 years ago by Marti Raudsepp <[email protected]>
Restore Python 3.7 compatibility (#945)

django-stubs still supports Python 3.7, but the `/` positional-only parameter syntax is supporte...

2b0bfdb46e0894eec5d6cae78c56fc91ecb2e101 authored over 2 years ago by Marti Raudsepp <[email protected]>
Fix ValidationError false positive on nested inputs (#943)

Reverts parts of PR 909.

c836c3ac3a9f10ac9448a18853d99d5eaf969f5a authored over 2 years ago by Marti Raudsepp <[email protected]>
Recover after #909 (#925)

* Fix stubs related to `(Async)RequestFactory` and `(Async)Client`

* Revert incorrect removal...

6226381484d635b3a37918510b6bbcae6ff2a344 authored over 2 years ago by sterliakov <[email protected]>
added unique annotation on model Field (#936)

16499a22ab2e0cdf8ed076f5ab60ed5ab2bbccef authored over 2 years ago by Guillaume Andreu Sabater <[email protected]>
Bump pytest from 7.1.1 to 7.1.2 (#932)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.1 to 7.1.2.
- [Release notes](htt...

268ec3bcd512ae491ad7b408531755f9a054e450 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
add fail_silently attribute for BaseEmailBackend instances (#931)

Signed-off-by: Oleg Hoefling <[email protected]>

8e875b13f7d6372dd4ac346d5306d6ed9f8e2261 authored over 2 years ago by Oleg Höfling <[email protected]>
Fix incorrect instance arg for BaseInlineFormSet.__init__ (#928)

* Fix BaseInlineFormSet generic to retain parent model class info

* Add in test for generic f...

a1b647700bc8804f76e35bd078a88eb53f67620e authored over 2 years ago by Chris Beaven <[email protected]>
Update media render return values to SafeString (#923)

30bf4dab6c77425aedbbc4969dfd6ae98cbdc5b3 authored over 2 years ago by rolandcrosby-check <[email protected]>
Add missing type for setup_databases (#919)

* Add missing type for setup_databases

`django.test.utils` was seemingly missing the type for...

40bf7a562d5f02a68aafdca06003e325ad658c1d authored over 2 years ago by Xavier Francisco <[email protected]>
issue-914: ValidationError.error_dict type fix (#915)

e468ee97da9a53f632047dc57eaf9eeb4acca67c authored over 2 years ago by Jim King <[email protected]>
added ExtractIsoWeekDay (#912)

https://docs.djangoproject.com/en/3.2/ref/models/database-functions/#django.db.models.functions....

d8b417456fc0c8cb56cce7a366032936999c60a8 authored over 2 years ago by Guillaume Andreu Sabater <[email protected]>
Switch to setuptools (#911)

2dad9228eb174077095fe86891a2619932549d58 authored over 2 years ago by Nikita Sobolev <[email protected]>
Bump pre-commit from 2.17.0 to 2.18.1 (#910)

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.17.0 to 2.18.1.
- [Release ...

21bed1ccf331c61e92f88b524bed81761a615442 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Large update (#909)

* Make module declaration precise.

* Make settings match real file.

* Replace `include` wi...

f69e0639c74fee0e8ad3d165790ac9804ea4a3f2 authored over 2 years ago by sterliakov <[email protected]>
Emit error instead of raising on union custom QuerySet (#907)

* Add reproducer for failing case

* Emit warning instead of crashing when encountering enum
...

dc4c0d9ee48e7284fedfcc2586d07f39c575ef20 authored over 2 years ago by Sigurd Ljødal <[email protected]>
Don't rely on `django.db.models.manager.Manager` metadata for dynamically created manager (#904)

0e98cc9114f57db832ca2e5873ccd8e08ca5a49f authored over 2 years ago by Petter Friberg <[email protected]>
Fix missing related managers on some models (#902)

* Fix missing related managers on some models

I was seeing an issue where some related manage...

76e3fdb4797c1a8e764ba1e8cf767d896d5f32aa authored over 2 years ago by Sigurd Ljødal <[email protected]>
Improve MultiValueDict/QueryDict dict() return (#899)

According to Django documentation and code, the `MultiValueDict.dict()` method only returns sing...

49d855547b58c3299e732726ef4002446b185969 authored over 2 years ago by Marti Raudsepp <[email protected]>
Update Black dependency to fix CI lint (#900)

* Update Black dependency to fix CI lint

Closes #896.

Black 22.3.0 fixes incompatibility w...

212ef40c3d602ea7f72b05e73870eb01b6eec99a authored over 2 years ago by Marti Raudsepp <[email protected]>
Cache dynamically created manager nodes (#840)

- Non plugin generated, "cross_ref"s points to dynamically
created managers (e.g. `Model.obje...

92e5f202ace56be61b0ffb8c6291237db1554216 authored over 2 years ago by Petter Friberg <[email protected]>
Version 0.10.1 release

4e3f9d6f06d6253f28638a52b795ad00569fe147 authored over 2 years ago by sobolevn <[email protected]>
login_form is a class (#885) (#891)

2fad97af03f2769326a7779f73e48d2f66ae4bdb authored over 2 years ago by Mark Gregson <[email protected]>
Import Literal from typing_extensions for 3.7 compatibility (#889)

a14fb28f334157e769cab80378ccf9c0c2729d15 authored over 2 years ago by henribru <[email protected]>
Remove Python 3.6 trove classifier (#887)

aa5f114575d7cba7da3a69fb22173351bf143527 authored over 2 years ago by henribru <[email protected]>
Version 1.10.0 release (#886)

* Version 1.10.0 release

* Fixes CI

* Fixes CI

3c58270a78feabf5d184510c61dbd36c2c121690 authored over 2 years ago by Nikita Sobolev <[email protected]>
Fix mypy cache of WithAnnotation types (#725)

3f340c9df391ada90efc520882b16a268b1d56cd authored almost 3 years ago by Konstantin Alekseev <[email protected]>
Set type parameters for Field in get_fields() (#882)

* Set type parameters for Field in get_fields()

This fixes an issue with Pyright strict type ...

1672b54c8977f01cc3f36301074ed397fd618726 authored almost 3 years ago by w0rp <[email protected]>
Don't serialize annotated types (#881)

Signed-off-by: Sebastian Wagner <[email protected]>

Co-authored-by: Sebastian Wagner <seba...

32a33c332df3b356e16bd81a11b284b5627875e4 authored almost 3 years ago by Sebastian Wagner <[email protected]>
Fix missing args on SlugField.__init__ (#879)

10e06947d760c4979a260628c65d55de0abff0a1 authored almost 3 years ago by Anderson Luiz de Souza <[email protected]>
Bump pytest from 7.1.0 to 7.1.1 (#880)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.0 to 7.1.1.
- [Release notes](htt...

f4d38955958c204d9907ed7969aba40521500f9b authored almost 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fixes #822 (#868)

Signed-off-by: Himanshu-Balasamanta <[email protected]>

5c75869dd316518141c02486557384e3cc6b8c89 authored almost 3 years ago by Himanshu Balasamanta <[email protected]>
Bump pytest from 7.0.1 to 7.1.0 (#869)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.0.1 to 7.1.0.
- [Release notes](htt...

acfafaae14c45cc4327ffb8201c9a30d967981c5 authored almost 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fixes #870 (#871)

* Fixes #870

Signed-off-by: Himanshu-Balasamanta <[email protected]>

* Updated ...

f9f6c827c15a9399b48b536bf3f397c18ddbdf92 authored almost 3 years ago by Himanshu Balasamanta <[email protected]>
Improve forms stubs (#862)

* `default_renderer` may be a renderer class, instance, or `None`: https://docs.djangoproject.co...

eb6991b008e7afd2b191d19ca4c574661d99eb93 authored almost 3 years ago by Adam Johnson <[email protected]>
Bump actions/checkout from 2 to 3 (#861)

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](ht...

078925a0fc219d0893aeed1a361c6ce2446e3021 authored almost 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump actions/setup-python from 2 to 3 (#860)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
- [Release n...

cf31c1de7b9c0ac4bc3b18edb80b07bc21e95385 authored almost 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Added `widget_type` annotation to `BoundField` (#855)

* Add widget_type annotation to BoundField

See https://github.com/django/django/blob/main/dja...

104012b817ef6e07bf5b4686b2c48a617b20a44a authored almost 3 years ago by Ethan Corey <[email protected]>
Make formfield_from_dbfield return forms.Field instead of models.Field (#857)

850df1655aca736d270cf9018be165dbed9465c6 authored almost 3 years ago by rolandcrosby-check <[email protected]>
Bump gitpython from 3.1.20 to 3.1.27 (#854)

Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.20 to 3.1.27.
- [...

30bed85e0da245a7e072368646535908a9bf9cd6 authored almost 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>