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

fix CursorWrapper iter method (#628)

d9c63f5e71818a3e751a78bc9bca90768def63e5 authored over 3 years ago by horpto <[email protected]>
chore: remove excess # type: ignore comments in _ValuesQuerySet (#662)

008dcdbcb6c13ba6c0639b9f42b4850e7f1856d0 authored over 3 years ago by Michael Aquilina <[email protected]>
Add more method signatures for _ValuesQuerySet (#661)

5c3ce171b20804c990c1dcbffaf4c40940e5add0 authored over 3 years ago by Michael Aquilina <[email protected]>
chore: remove unused class stubs from query.pyi (#660)

13c620f572f67c768d9099f8fd3d824184f6881c authored over 3 years ago by Michael Aquilina <[email protected]>
Add distinct, order_by and all method signatures for _ValuesQuerySet (#657)

ded66f6937552f773524d12d101106cf99f6e344 authored over 3 years ago by Michael Aquilina <[email protected]>
Use `Sequence` instead of `List` for `path` param (#659)

Unlike `List`, which is invariant, `Sequence` is covariant, which lets
`path` accept lists of s...

739b1711a9df342fd9e53efbbf982db917723e7a authored over 3 years ago by David Szotten <[email protected]>
Fix type of MigrationLoader.applied_migrations (#656)

Co-authored-by: Darius Marian <[email protected]>

cf6952c9df385a699dd63054b6753eb924b0c68c authored over 3 years ago by darius-blink <[email protected]>
Check whether reported issues actually fails currently (#653)

0c3252fb974c39877d717f706674c98616f7ccdb authored over 3 years ago by Seth Yastrov <[email protected]>
Rename ValuesQuerySet -> _ValuesQuerySet and remove _BaseQuerySet. Ma… (#654)

* Rename ValuesQuerySet -> _ValuesQuerySet and remove _BaseQuerySet. Make a public alias called ...

f9317c767978b0521b84e2014c8ffcf0ac0120eb authored over 3 years ago by Seth Yastrov <[email protected]>
Allow setting AutoFields to None (#634)

29e971ed9d9ddce70331ceb3acfc5c903edbe183 authored over 3 years ago by Seth Yastrov <[email protected]>
[WIP/RFC] Revisit patching of mypy builtins (reveal_{type,locals}) (#615)

* Revisit patching of mypy builtins (reveal_{type,locals})

Fixes https://github.com/typeddjan...

a00563cfa42e153a2457bdcc1e21b092e3ee0444 authored over 3 years ago by Daniel Hahler <[email protected]>
Adds docs for how Field access works

159a0e47904ad5dabf7d1ca4f3b43233ebcbea9f authored over 3 years ago by sobolevn <[email protected]>
Improves edit.py and its forms (#648)

* Improves edit.py and its forms

* Adds tests

eb702384a8c77dcdaa57d5e56a1bd21272e04eb8 authored over 3 years ago by Nikita Sobolev <[email protected]>
Patch detail and list generic view base classes (#642)

Similar to the already patched `FormMixin`, the detail and list generic view classes are also mi...

acfe0ce820a5697e9f88ba3e4cb00323dcdc5721 authored over 3 years ago by Chris Beaven <[email protected]>
Copy decorated queryset methods to manager too (#646)

* copy decorated queryset methods to manager too

* added test for from_manager with decorated...

f182b39c91398019642159ba5f34e5c979c24356 authored over 3 years ago by Patrick Gingras <[email protected]>
Add missing queryset annotations (#644)

96ae17f4a78e2d187c0e8f17ec230dfd1c7138cf authored over 3 years ago by Anton Agestam <[email protected]>
Adds support for pyproject.toml files (#639)

* Adds support for pyproject.toml files

Since mypy 0.900 the pyproject.toml files are support...

397e3f3dacdd963995ae55600a376a9e69de563d authored over 3 years ago by Cesar Canassa <[email protected]>
Allow Collection for 'fields' and 'exclude' of form model helpers (#637) (#640)

* Allow Collection for 'fields' and 'exclude' of form model helpers (#637)

There are several ...

8c387e85fe5d3c3759b4ecbba643b0f2491fd063 authored over 3 years ago by Maarten ter Huurne <[email protected]>
fix tests for mypy 0.900 (#641)

77f9926ce1e9606b32b0bc0d8b30c2a22f6398f9 authored over 3 years ago by Cesar Canassa <[email protected]>
Update test.yml

47f1700a8b1f5d0ec279ebaf27fd59c84254d1ff authored over 3 years ago by Nikita Sobolev <[email protected]>
get_language can sometimes return None (#633)

https://docs.djangoproject.com/en/3.2/ref/utils/#django.utils.translation.get_language
> Return...

48c0bf071301a69350559b3832eef97f735d65d1 authored over 3 years ago by Seth Yastrov <[email protected]>
#629: Add HTTP response "streaming" attribute (#632)

Add the missing attribute django.http.response.StreamingHttpResponse.streaming .

This is actu...

893ad6bb029ef54a4d4800cc81d8ab76185df819 authored over 3 years ago by jonfoster <[email protected]>
fix(ResolverMatch): Added _func_path (#631)

* fix(ResolverMatch): Added _func_path

ResolverMatch class in Django contains _func_path vari...

becb0c96054a48ce7bc8eb39542344c0b61fb638 authored over 3 years ago by Abhishek Chaudhary <[email protected]>
add concrete attr to field (#623)

9a95b983981173d86b55c3ede97f637d94cfde9e authored over 3 years ago by Paweł Markowski <[email protected]>
Update README.md

e12a2d9aef284439d71fab9245def2c876e4b105 authored over 3 years ago by Nikita Sobolev <[email protected]>
Add `db_collation` parameter to `CharField` and `TextField` (#621)

* Add db_collation parameter to CharField

* Add db_collation parameter to TextField

2f84d2e9043a74592b8371c55f1b6b1fc8f8a1f2 authored over 3 years ago by Y. Kiuchi <[email protected]>
Create py.typed

353b790209582778a74839dc285f5900d44eb42f authored over 3 years ago by Nikita Sobolev <[email protected]>
Document limitation with `django_stubs_ext.monkeypatch()` (#619)

This monkey patching will only work when using Python 3.7+, which
introduced the `__class_getit...

66d5045ed95ee9e0b63bc50c335a3388dbd28258 authored over 3 years ago by Bob Whitelock <[email protected]>
Add stub for QuerySet.alias() (#618)

3bd9fe530e055e8566d21fc1f9ecc8cd9daa39b8 authored over 3 years ago by Anton Agestam <[email protected]>
Add stub for OpClass (#617)

6dd838438160a42d1b3269d1d93d8276a541dfa3 authored over 3 years ago by Anton Agestam <[email protected]>
Adjust Postgres indexes for Django 3.2 (#616)

248f1ccceec7d3b61f8968101af11382cff13ebe authored over 3 years ago by Anton Agestam <[email protected]>
Removes useless import

c0203c9a60d8d451067b695614d26d44158c683f authored over 3 years ago by Nikita Sobolev <[email protected]>
Improve hints for database connections (DatabaseWrapper) (#612)

* `django.db.{connection, connections, router}` are now hinted -- including `ConnectionHandler` ...

45f6dc0362a032af4e8f9d6e7eac4de583dcab5f authored over 3 years ago by Marti Raudsepp <[email protected]>
Add a few missing Storage-related hints (#611)

d1dd95181afd17d131fbe1c0e7e263c6e6b8569a authored over 3 years ago by Marti Raudsepp <[email protected]>
Use BaseDatabaseWrapper class instead of sqlite3's wrapper (#610)

Code dealing with DatabaseWrapper instances should be capable of dealing
with any database, not...

e8d03a0e22c05a951d1750e829af8905c90f925f authored over 3 years ago by Marti Raudsepp <[email protected]>
Allow Views to return the more generic HttpResponseBase instead of HttpResponse, to allow returning StreamingHttpResponse (#607)

* Add type hints for the postgres CursorDebugWrapper, expand the BaseCursorDebugWrapper.

* Fi...

9251520f661c73a9243ef77b177da9abedec3cfd authored over 3 years ago by LanDinh <[email protected]>
Update decorators.pyi to match Django 3.1 (#576)

* Update decorators.pyi to match Django 3.1

This commit resembles the state of the file in Dj...

2a1c86744cb4fc6a401a0923c6b48f271403c495 authored over 3 years ago by Thomas Krapp <[email protected]>
Ensure that all registered checks return a list of CheckMessage (#508)

* Ensure that all registered checks return a list of CheckMessage

This changes missing and An...

619823d4979c035934cf6a55a21862c6dd346161 authored over 3 years ago by Brian Helba <[email protected]>
Replace models.Model annotations with type variables (#603)

* Replace models.Model annotations with type variables

* Adds generic type args to generic vi...

e4de8453cfbffa811ae5d3d0da7c83c7166c091d authored over 3 years ago by Sondre Lillebø Gundersen <[email protected]>
Revert "correct the type signature of AbstractBaseUser.set_password (#493)" (#537)

This reverts commit 8729a74f8141e24ca630507e4271f984a91a53d2.

5c3898d3b0ce22942b2141f36f1e084e226d0f30 authored over 3 years ago by Nikita Sobolev <[email protected]>
Correct type of core.management.commands.runserver.Command.default_port (#604)

Strangely this variable is actually a string:
https://github.com/django/django/blob/8bcb00858e0...

e5ff9808cf2bd53a23679ad0cb5443167ad24806 authored over 3 years ago by Fabian Henze <[email protected]>
Added a few definitions to resolve incompatibily with Pyre/Pysa (#601)

c633f3215fdf4d6f3f6fec35bc6bd67252f8a302 authored over 3 years ago by Maxim Masiutin <[email protected]>
Update BaseCommand.requires_system_checks for django >=3.2 (#600)

- the documentation for this specific change in django can be seen at https://docs.djangoproject...

9e8e4363b192ea1fd81e72ae2d43f87f3b403380 authored over 3 years ago by Abhyudai <[email protected]>
Handle GenericForeignKey class typeinfo lookup failure. (#597)

This addresses an obscure crash we're getting when defining a GenericForeignKey
subclass on a m...

d4c1ed2ce0fd5fe54c47eb8abb2af381cd73422b authored over 3 years ago by Simon Charette <[email protected]>
Add type hints for the postgres CursorDebugWrapper and add missing method to the BaseCursorDebugWrapper (#585)

* Add type hints for the postgres CursorDebugWrapper, expand the BaseCursorDebugWrapper.

* Fi...

3931432b34ac72db19c2e25ccdcb1a7fe598f65b authored over 3 years ago by LanDinh <[email protected]>
Add `no_key` parameter to `select_for_update` queryset method (#594) (#595)

Co-authored-by: Stevan Milic <[email protected]>

4c90b5098f27fcc862c19dcf6dd6666920935c92 authored over 3 years ago by Stevan Milic <[email protected]>
WIP: django_stubs_ext: monkeypatch `reveal_{type,locals}` into builtins (#591)

* WIP: django_stubs_ext: monkeypatch `reveal_{type,locals}` into builtins

Fixes https://githu...

ee58b18f1577eb31fb5faaae94725a18625904fc authored over 3 years ago by Daniel Hahler <[email protected]>
build(deps-dev): remove/unpin mypy/typing-extensions (#593)

* build(deps-dev): remove/unpin mypy/typing-extensions

Closes https://github.com/typeddjango/...

3c6f438cc944db3c45412fcf833612173f6442b9 authored over 3 years ago by Daniel Hahler <[email protected]>
[3.2] Adjust contrib.admin (#589)

a14f49c4b2648bfb9440366a23972b6f9fa271bb authored over 3 years ago by Hannes Ljungberg <[email protected]>
[3.2] Add missing exceptions (#588)

f003968177db043eb908c152ddf226d29975148e authored over 3 years ago by Hannes Ljungberg <[email protected]>
[3.2] Adjust model indexes (#587)

e8a97e301c22c7d1339dec8ab8cd9ce70929259a authored over 3 years ago by Hannes Ljungberg <[email protected]>
[3.2] Add durable argument to atomic (#586)

* [3.2] Add durable argument to atomic

* Adjust compatibility table for 3.2

* Update READM...

e72cbb6eb5b25e7270214e5efa8781775a1288f2 authored over 3 years ago by Hannes Ljungberg <[email protected]>
Version 1.8.0 release

3cca71a58f787d96193acfe3bf7d5afb3485e105 authored over 3 years ago by sobolevn <[email protected]>
Add URLPattern options to django.url.conf since they were missing. (#583)

* Add URLPattern options to django.url.conf since they were missing.

* Fix some wording in th...

ceb08f18043a31b4734b4b55cb7992c42106b010 authored over 3 years ago by LanDinh <[email protected]>
Create related managers from generated managers (#580)

9beb5327de662569dab313757876f892746e7904 authored over 3 years ago by Konstantin Alekseev <[email protected]>
compatibility matrix doc change for new django-stubs version (#581)

cd9ef6cdd4e0b71c8f8d42785bb9b8ae50b7b13a authored over 3 years ago by Daniel Sears <[email protected]>
MIMEBase parameter for EmailMessage.attach() (#577)

* MIMEBase parameter for EmailMessage.attach()

* Added test_mail.yml

Co-authored-by: Edwin...

8f97bf880d3022772581ea4cf8b5bf5297a27bad authored over 3 years ago by Edwin Grubbs <[email protected]>
Fix Field arguments variance (#573)

* Fix Field arguments variance

* fixup! Fix Field arguments variance

Test field can be use...

124d90794c6a303ff7bba2ebcb84b80d9c234618 authored over 3 years ago by Anton Agestam <[email protected]>
Tweak the constructor signature for ManyToManyField (#571)

Prior to this change, ManyToManyField was declared as being generic in
_ST and _GT, but also us...

6a6fd47f285ea464f6a7ee67c4d2161314881d41 authored over 3 years ago by James Owen <[email protected]>
feat(add-get-lines): Add get_inlines method (#570)

Document ModelAdmin.get_inlines(). Available since Django 3.0.

54e5ecc16a3dba83f571568b9b407d2950d74a44 authored over 3 years ago by melvyn-oviavo <[email protected]>
Mention issue about as_manager along with a workaround (#569)

* Mention issue about as_manager along with a workaround

* Update README.md

Co-authored-by...

418437b00c7f9205cd3cb54c7808908d07c1538f authored over 3 years ago by Seth Yastrov <[email protected]>
Correct order for FileField __init__ args (#568)

eb195b61e925d55b0b8378ac16aff91320b1cea1 authored over 3 years ago by Daniel <[email protected]>
Update static.pyi (#566)

* Update static.pyi

Parameters document_root and show_indexes should be marked as Optional si...

993dd816a4ddf0048f69c9a114de6183d23ffd31 authored over 3 years ago by Thomas Krapp <[email protected]>
fix: add headers to http.HttpResponseBase constructor (#564)

* fix: add headers to http.HttpResponseBase constructor

fixes #563

* fix: correct Dict() w...

e6dcfe4fc60d2d7cb88b09c9325b4cb0a4fe77d6 authored over 3 years ago by Chas Nelson <[email protected]>
Allow ModelAdmin.actions to be set to None. (#560)

`None` is an allowed value to disable all actions for a particular `ModelAdmin`.

8f9e77ce39cb581ca220fb6f91197885e462a7c4 authored over 3 years ago by Simon Charette <[email protected]>
Stricter return type annotations for template.Library (#541)

* Stricter return type annotations for template.Library

* Add some unit tests for the templat...

a1334a70b90ccfc2928c44022c30eb24412d98c1 authored over 3 years ago by Tim Martin <[email protected]>
Add deferrable argument to unique constraint (#472)

a8d8561d0e6579466a1e0adeddb3476924d24455 authored over 3 years ago by Nicolas Delaby <[email protected]>
Add algorithm parameter (Django 3.1) (#489)

* add algorithm parameter

* add algorithm field

* reformat

bdc7db1154106f2cf4e572e66b9e7c2895e64edb authored over 3 years ago by Yuta Okamoto <[email protected]>
Merge pull request #536 from wkschwartz/patch-1

Fix incorrect and add missing annotations for loaddata command

49ed9c957fd07f01a36700994dfde9d51839e52e authored over 3 years ago by Maksim Kurnikov <[email protected]>
Merge pull request #510 from jpulec/patch-1

Add resolve_callables to db.models.utils (Django 3.1)

4829ce220007e6261b2bde885d47e192acfd98c9 authored over 3 years ago by Maksim Kurnikov <[email protected]>
Merge pull request #559 from mkurnikov/value-to-string

add value_to_string method to Field

9fe1a76779adeec467c46e39e4d41d9a74399d6c authored over 3 years ago by Maksim Kurnikov <[email protected]>
run black

153613eddb5f5713e74e8621783988670d704f83 authored over 3 years ago by Maksim Kurnikov <[email protected]>
Merge pull request #538 from bullfest/av/ModelMultipleChoiceField

Make queryset parameter to ModelMultipleChoiceField.__init__ Optional

b6cb50e729e11f31b3b70f3ffd5c704e7277b6f3 authored over 3 years ago by Maksim Kurnikov <[email protected]>
value_to_string obj param is Model

344dea06b5f7510986628faaeaabfb89c24dff6b authored over 3 years ago by Maksim Kurnikov <[email protected]>
Merge pull request #533 from woochica/master

Add support for PositiveBigIntegerField (Django 3.1)

01a9ad12e177707adc9433dedf660e76d722c99a authored over 3 years ago by Maksim Kurnikov <[email protected]>
add value_to_string method to Field

0a0e1985d71c2da3d07bd8e40279d4b17596e66e authored over 3 years ago by Maksim Kurnikov <[email protected]>
Merge pull request #558 from mkurnikov/jsonfield

Missing Django 3.1 items

f07477260f882df54723373d618daf7996afdaeb authored over 3 years ago by Maksim Kurnikov <[email protected]>
add django 3.1 classproperty

11c3f8cd11a33a4e16ab207bb835285de5d7ed29 authored over 3 years ago by Maksim Kurnikov <[email protected]>
add django 3.1 jsonfield

159f8b95ba28a091f9ca4006b106099d5e793949 authored over 3 years ago by Maksim Kurnikov <[email protected]>
Added cache in github actions to speed up CI (#549)

58c087f7f579bb39d1f77ae9612c6ce68358a4bc authored almost 4 years ago by Anas <[email protected]>
Add Field to django_stubs_ext.django_stubs_ext.patch._need_generic (#547)

2e9adce5eb145db5e7f043e0c6c421dd00493db2 authored almost 4 years ago by markedwards <[email protected]>
Update django_stubs_ext documentation to reference settings (#548)

47bd07758b89a12b19c6e6d8c1f73e22cbd6777e authored almost 4 years ago by markedwards <[email protected]>
Django admin additions (#543)

36d1778e2af3aca8c0badc317a68b95766a8cf55 authored almost 4 years ago by Marti Raudsepp <[email protected]>
convince mypy that user.is_staff (and friends) are booleans (#542)

closes #512

Co-authored-by: proxi <[email protected]>

caaa23ab8fd4bd978fd0bf6821b1c7db45861c1c authored almost 4 years ago by proxi <[email protected]>
Change patch_response_headers argument to Optional[int] (Fixes #337) (#338)

cfd9379b58ea40c6768cea63d44e44b3f97fd313 authored almost 4 years ago by Marcin Wieczorek <[email protected]>
Make queryset parameter to ModelMultipleChoiceField Optional

362342d998c6ac119127bd239400889f3050f20c authored almost 4 years ago by Alexander Viklund <[email protected]>
Finish loaddata.pyi

This incorporates all type information I could glean from loaddata at
django/django@adb40d217ec5...

d3ff5415db9306b2d5a766b2167a9d2e1a548ce2 authored almost 4 years ago by William Schwartz <[email protected]>
Fix loaddata.pyi

- Added some of the instance attributes from command arguments: ignore, using, app_label, verbos...

eecf13a2fe35ca4628b2ef9b1096070e96ce055f authored almost 4 years ago by William Schwartz <[email protected]>
Do not force django.contrib.* dependencies (#535)

* Do not force django.contrib.* dependencies

Fixes #428.
Fixes #534.

* Add one more test ...

d9c851abcedf6a2a434da9a9dbda7aa536edce52 authored almost 4 years ago by Lysandros Nikolaou <[email protected]>
Add support for PositiveBigIntegerField (Django 3.1)

896cbe47525a8baf0e4ed3e96358a10e8e8340c8 authored almost 4 years ago by Torok Gabor <[email protected]>
Fix signature of RemoteUserBackend.configure_user (#532)

* Fix signature of RemoteUserBackend.configure_user

The function signature has changed from 2...

f3e0872d6e2a3e5fa7925c97855369e7ce9f2520 authored almost 4 years ago by Alisue <[email protected]>
AttributeError exception in copy_method_to_another_class (#531)

* Fix for method_node having no arguments

* Trim whitespace

4cb13a6ac575282a10b5ad48d885cfd78b7977c5 authored almost 4 years ago by javulticat <[email protected]>
Update misspel.yml

19d695b1daee25115fefe5b6b743b670e23a1bc7 authored almost 4 years ago by Nikita Sobolev <[email protected]>
Fixes CI

16326e999c6cc1b2bda1155c36b57c729eef5b05 authored almost 4 years ago by sobolevn <[email protected]>
Adds more types to patch

517ae648e58f64935ef073676412d4921659de74 authored almost 4 years ago by sobolevn <[email protected]>
Fixes README

3e0f144148db3abef2087214bb70cae24b2c2c94 authored almost 4 years ago by sobolevn <[email protected]>
Closes #529 (#530)

* Closes #529

* Fixing CI

* Fixing CI

* new monorepo setup

8a68111ce5c0417835ec9a0d29186b4b3dde5671 authored almost 4 years ago by Nikita Sobolev <[email protected]>
django_stubs_ext release 0.1.0

9f966a80567c0b7a60d422d2a601f16117e5e695 authored almost 4 years ago by sobolevn <[email protected]>
create monkeypatching function for adding get_item dunder (#526)

* run black

* create monkeypatching function for adding get_item dunder

* whoops i forgot ...

0c41d0c6e9c4b0b45617db2c07d770d5c32410f1 authored almost 4 years ago by proxy <[email protected]>