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

Add OutputWrapper write() signature (#301)

* Add OutputWrapper write() signature

* Add #type: ignore[override] to OutputWrapper write() ...

438f8b5829133830b38bb1b71c4441c9135b206d authored almost 5 years ago by Tatsh <[email protected]>
Allow error handlers to be strings (#307)

Based on the docs on this page: https://docs.djangoproject.com/en/3.0/ref/urls/

836d5acd8f259c28e4b99651277cd18d65185ad0 authored almost 5 years ago by Joseph Kahn <[email protected]>
Added manager _db (#296)

bfae51e64cf29ab0942ae1265af4e7fc1c47734f authored almost 5 years ago by Cesar Canassa <[email protected]>
Fix incorrect type for django.core.files.File.file (#293) (#294)

e3801918e30ea6153e88a9bfced3296cf38ff8bb authored almost 5 years ago by Daniel Hillier <[email protected]>
Implement @cached_property attribute inference (#292)

6f296b0a911676b6f53a2f9ffc994413b3236be1 authored almost 5 years ago by Marti Raudsepp <[email protected]>
Refactors validators types (#284)

* Update __init__.pyi

* It should not fail right now :thinking:

* Refactor validators a bi...

7ba578f6b2e79782f45076fbb8f48eaca656cb23 authored about 5 years ago by Nikita Sobolev <[email protected]>
BaseManager.from_queryset(): properly resolve methods for `QuerySet` defined in another file (#282)

* BaseManager.from_queryset() from another file

* only anal_type per argument

* add resolv...

cb123de105368016b6ee21bc8f0ff24fb412295b authored about 5 years ago by Maksim Kurnikov <[email protected]>
Merge pull request #281 from mkurnikov/update-deps

Update dev deps, mypy to 0.760

38135f2d1f567716486762f30a47205b8bb2ed32 authored about 5 years ago by Maksim Kurnikov <[email protected]>
bump to 1.4.0

998b659749499f5356c03837be3f5c684b8ab33a authored about 5 years ago by Maxim Kurnikov <[email protected]>
remove unused ignores

72f69e1c5e206b8abb9b6954af196b5ca508e59b authored about 5 years ago by Maxim Kurnikov <[email protected]>
update dev deps, mypy to 0.760

d666ecd36fd8c10a0b70fadf285e593d4cf858f4 authored about 5 years ago by Maxim Kurnikov <[email protected]>
handle return value of anal_type properly (#280)

c1af26c027b0ebd574b258d1883c3f71e0994428 authored about 5 years ago by Maksim Kurnikov <[email protected]>
bump to 1.3.3

3c3dfcbc9f711a51945bd38561513afade3ecf72 authored about 5 years ago by Maxim Kurnikov <[email protected]>
Perform `anal_type` for arguments and return type when copying methods to another class (#279)

* Found the reproducible test case

* fix import resolution for method copy

* remove irrele...

1196336e3b238a67115548bda805465bd37ece93 authored about 5 years ago by Maksim Kurnikov <[email protected]>
Make related manager inherit from `objects` of related model (#278)

* related manager inherits from objects of related model

* fix test typechecking

* lint

665f4d8ea1723d0bcae59904a590ffb03a7c0355 authored about 5 years ago by Maksim Kurnikov <[email protected]>
Add inheritance QuerySet support for `from_queryset` (#275)

* Add testcase for queryset inheritance

* Add PoC

* Add condition for stop to looping over...

b3ed9e4827cfc2d8f46a5e0d9c439d82acde5514 authored about 5 years ago by Dima Boger <[email protected]>
Expand stubs for django.core.management.color (#276)

Many attributes were previously missing; 'DEBUG' and 'INFO' attributes
were never supported by ...

fb1593630ae5ebaedbc3a82661a51a393adb228c authored about 5 years ago by Marti Raudsepp <[email protected]>
update ChoiceField's `choices` kwarg's annotation (#273)

per the [docs](https://docs.djangoproject.com/en/3.0/ref/forms/fields/#choicefield), `choices` i...

031d42a75dec4a6722036f5aaf0bc9844e417360 authored about 5 years ago by JR Heard <[email protected]>
bump to 1.3.2

f7e1cfc6c7016eff604d0eacf6bd6fa9a75eccc3 authored about 5 years ago by Maxim Kurnikov <[email protected]>
Allow to run from_queryset() with BaseManager, Manager (#271)

* allow to run from_queryset() with BaseManager, Manager

* fix tests

d0c25e3bce44aeefaadf95caf696bee4aab90e16 authored about 5 years ago by Maksim Kurnikov <[email protected]>
enable 'model_forms' for tests typechecking (#270)

1c31e71ffc4d3ded73864d9b834bfc89ee222fbd authored about 5 years ago by Maksim Kurnikov <[email protected]>
add .model field to _BaseQuerySet (#268)

6b3b6be3c139d1165925ee02e39b8ea3135e368f authored about 5 years ago by Dmitry Groshev <[email protected]>
Remove warning about unsupported expression types (#266)

* remove warning about unsupported expression for _meta.get_field()

* lint

58326050530e72d4d58033ae04abafac8dfd58b9 authored about 5 years ago by Maksim Kurnikov <[email protected]>
values(), values_list() with ManyToManyField (#267)

31e795016f154309e675c85616f4f8af033c0860 authored about 5 years ago by Maksim Kurnikov <[email protected]>
bump to 1.3.1

0cba3f9fd60449835f9bf3609d48ce48fedb5bf5 authored about 5 years ago by Maxim Kurnikov <[email protected]>
various annotation improvements (#258)

f02050911fc5ec4125f9034d79f338329ca7cf75 authored about 5 years ago by Maksim Kurnikov <[email protected]>
Fix return type of `refresh_from_db` (#244)

e8e6fca78ca0452d95b97041afacd63f33947f80 authored about 5 years ago by henribru <[email protected]>
Add support for BaseManager.from_queryset() (#251)

* add support for BaseManager.from_queryset()

* cleanups

* lint fixes

ade48b6546773eab3986d941f3ae3bf677f15f49 authored about 5 years ago by Maksim Kurnikov <[email protected]>
Suppress IncompleteDefnException on final_iteration and continue with the loop (#260)

* suppress IncompleteDefnException on final_iteration

* lint

b8f29027d8ef1944faa8b6a80d2a9572dcf977f4 authored about 5 years ago by Maksim Kurnikov <[email protected]>
Update django.contrib.auth with Django 3.0 compatibility (#256)

* Add support for BaseBackend

* Add User.get_user_permissions

* Add support for UserManage...

eba3f6cb15fd279f34880dbdad4af3ae053ce087 authored about 5 years ago by Hannes Ljungberg <[email protected]>
Optimize tests typechecking script (#255)

* skip whole Django repo for tests typechecking

* lint

5a45544e76e038a8bbf0bcabf0319eefcac8c675 authored about 5 years ago by Maksim Kurnikov <[email protected]>
add a number of django test directories for typecheck (#257)

8c2de7da56d56483efe7d0b1ae5088489664fc62 authored about 5 years ago by Maksim Kurnikov <[email protected]>
Merge pull request #254 from mkurnikov/better-force-text-types

Better types for django.utils.encoding

d43c6dc7e2ef8ee389a374660985b92b61e975f7 authored about 5 years ago by Maksim Kurnikov <[email protected]>
add @overload clauses to smart_text, smart_bytes, force_bytes

f7e2109e06f1c21b0046ed66d4de76cb5f2783dc authored about 5 years ago by Maxim Kurnikov <[email protected]>
Add support for database functions introduced in 3.0 (#253)

* Add support for hash database functions

* Add support for Sign

cea62abf5ae92ae24181f0f288dfc5af6d79c26c authored about 5 years ago by Hannes Ljungberg <[email protected]>
Add support for RangeBoundary (#252)

3b69ec6a729f8f0e975047fa1e55881856cc6536 authored about 5 years ago by Hannes Ljungberg <[email protected]>
Better type for force_text using overloads/Literal

- If a str is passed in, it returns a str.
- If strings_only = True and a "protected type" is p...

7e794534c05153f9a4494a9879c9e9767024fcaf authored about 5 years ago by Seth Yastrov <[email protected]>
Add support for exclusion constraints (#249)

f5f33b061d3a768e65aca3566c050c45b5431964 authored about 5 years ago by Hannes Ljungberg <[email protected]>
Improve TestCase.assertNumQueries type (#250)

58b26fdbd34a8f688bc236925c367df6b180e2a9 authored about 5 years ago by Ran Benita <[email protected]>
Move BLANK_CHOICE to django.db.models.fields (#242)

9ca79c24a211986b22bb0e76bec941990dc4e881 authored about 5 years ago by Youssef Moussaoui <[email protected]>
bump version to 1.3.0

540e28f4c6f771308b7df0556e4d9a79cbd6a72d authored about 5 years ago by Maxim Kurnikov <[email protected]>
Add Django 3.0 testing to CI (#246)

* add Django 3.0 testing to CI

* remove importlib_metadata usage

* conditionally load choi...

4ac43c6ed6493f2e94d87cce328f8c2d55f302db authored about 5 years ago by Maksim Kurnikov <[email protected]>
fix model's on_cascade= parameter for test, update to latest gdal (#247)

cadd6c963b2bdcc8b95c86fb27dc625aab6de231 authored about 5 years ago by Maksim Kurnikov <[email protected]>
Fix smtp backend open (#240)

041754f8172a067a430be626b814a15451ebf329 authored about 5 years ago by Konstantin Alekseev <[email protected]>
Cleanup EmailMessage types (#208)

* Cleanup EmailMessage types

* Typecheck email module tests.

c0c5d1e5884dd15020d184e87a6a34e5b7ce2e94 authored about 5 years ago by Konstantin Alekseev <[email protected]>
remove unused ignore pattern (#239)

f824003cc4357f6ceef127e2a9a52a3fb375f733 authored about 5 years ago by Maksim Kurnikov <[email protected]>
Declare is_relation and related_model on Field (#230)

58f1833caba90de8139e6934cb59c9c7d0f2767d authored about 5 years ago by Youssef Moussaoui <[email protected]>
Merge pull request #238 from mkurnikov/mypy-750

Mypy 0.750 support

cbb6a7a9acef64cb31a8b35e711cf328400b4369 authored about 5 years ago by Maksim Kurnikov <[email protected]>
properly change type of self for methods on custom manager classes

2c4827bbaf6406861168ef7c7c1a0ec206a60ed0 authored about 5 years ago by Maxim Kurnikov <[email protected]>
update django tests branch

5a151bf85112b3d12efd01bc232b065eda7f5ae3 authored about 5 years ago by Maxim Kurnikov <[email protected]>
Support mypy 0.750

cbc71599958bf9f578fe8c44ccbd3cc850b5fd64 authored about 5 years ago by Konstantin Alekseev <[email protected]>
added base_fields and declared_fields properties to Form (#235)

df4c17a947f7f46f8443251009a08149fe3436b6 authored about 5 years ago by Patrick Gingras <[email protected]>
README.md Fix: sample code for "Notes" (#234)

445abc046c3774c017f7a0e26ff553903b6e7888 authored about 5 years ago by yaegassy <[email protected]>
Add new View.setup method introduced in Django 2.2 (#233)

https://docs.djangoproject.com/en/2.2/ref/class-based-views/base/#django.views.generic.base.View...

557b7a4fa3bb3e880c6e782ddf1b2d3c2c532e3d authored about 5 years ago by Anthony Ricaud <[email protected]>
Fix has_perm() methods for auth backend, and for contrib.auth.models (#232)

* fix has_perm() methods

* lint

8343d768957a0c31f1fdb8003151855f0a2adf4f authored about 5 years ago by Maksim Kurnikov <[email protected]>
remove catch-all __getattr__ for Manager, fix some issues with manager methods (#227)

8d986a0f43c9d85cb654c4ad01b329fa2762577d authored about 5 years ago by Maksim Kurnikov <[email protected]>
More precise annotations of utils.timezone functions that return instances of tzinfo subclasses. (#209)

* fix annotations of utils.timezone

* use intermediary tzinfo subclass exposed in pytz typesh...

e9a90ebff03248c9da686d0af1dbf21fef95a2a1 authored about 5 years ago by Pilifer <[email protected]>
Add a few missing types to the stubfiles (#214)

* Add types to stub files.

* Fix black and flake8 errors.

7b74a6944a0f830b78d2f02fb07bccc016ef52d9 authored about 5 years ago by Christopher Sabater Cordero <[email protected]>
Add Tags.translation to stub (#226)

83f11a0fc626c72d48b7a0e27b7200d4168a8231 authored about 5 years ago by Seth Yastrov <[email protected]>
Both CSRF_COOKIE_SAMESITE and SESSION_COOKIE_SAMESITE should be Optional (#216)

2829faf1afd949b40248a81846686219d2733bb5 authored about 5 years ago by Seth Yastrov <[email protected]>
Add HttpResponsePermanentRedirect to django.shortcuts (#211)

d061e84cc78c17d107df9e19f25de73cfac8cb15 authored about 5 years ago by src <[email protected]>
Two small improvements (#217)

* Add return type for admin.SimpleListFilter.lookups

* force_login() can take any user, not j...

3a9263dc62d2b426b7da7f8e3e9b5d8a70db476a authored about 5 years ago by Anna Sidwell <[email protected]>
Allow returning bool from test_func (#220)

14aea2b4d4b89549a7e95f0bca35aa2f7ea6db85 authored about 5 years ago by Yngve Høiseth <[email protected]>
Pin to 0.740 and fix CI (#225)

* update django sources

* pin mypy version, update to 0.740

* fix tests typechecking

* ...

287c64d6fb26b605b8b161b75232d54191cdf642 authored about 5 years ago by Maksim Kurnikov <[email protected]>
Fixes travis url

6601121db277a9b2132cf62ea9a559c38afebf2f authored about 5 years ago by Nikita Sobolev <[email protected]>
Fix `django.contrib.admin.options.BaseModelAdmin.has_add_permission` (#205)

* Fix `django.contrib.admin.options.BaseModelAdmin.has_add_permission` (#203).

* Add `django....

87d59c7c1a3f755f3035ce5464efb4d32b76ea00 authored about 5 years ago by Andrey <[email protected]>
improve annotations in some places (#202)

* improve annotations in some places

* linting

8402e7c53ee4d2fa2ea31a506b6a986b67e10c1a authored about 5 years ago by Maxim Kurnikov <[email protected]>
fix annotation for BaseCommand.handle() (#201)

dceb0751522395cbe86c8db924372bdfec6b1adb authored about 5 years ago by Maxim Kurnikov <[email protected]>
Fix ForeignKey type for self-reference defined in the abstract model (#200)

7e3f4bfa024ed24c9ef2b570510958d6f8e2d551 authored about 5 years ago by Maxim Kurnikov <[email protected]>
Fix crash if model from same app referenced in RelatedField cannot be resolved (#199)

* do not crash if model from same app refd in ForeignKey cannot be resolved

* bump to 1.2.0

db9ff6aaf60dec1f85d924aae5f861e5429d7000 authored about 5 years ago by Maxim Kurnikov <[email protected]>
Reorganize code a bit, add current directory to sys.path (#198)

* reorganize code a bit

* add current directory to sys.path

* remove PYTHONPATH mention fr...

717be5940f8ec01e6917058118ff459cda519530 authored about 5 years ago by Maxim Kurnikov <[email protected]>
Improves README with new example repo, python version matrix (#195)

b939bc96b7ff0645da19c2ff960ac9bd0a50bee7 authored about 5 years ago by Nikita Sobolev <[email protected]>
add support for typechecking of filter/get/exclude arguments (#183)

* add support for typechecking of filter/get/exclude arguments

* linting

02bdf5be950ff8033bb08a1c04236e6ce0dd7949 authored about 5 years ago by Maxim Kurnikov <[email protected]>
Fix Paginator properties mistyped as Callables (#193)

Co-authored-by: Nick Sweeting <[email protected]>

4d4b0003bdc84a6ab56fbc518154337ec160849f authored about 5 years ago by Maxim Kurnikov <[email protected]>
add mypy compatibility table (#190)

* add mypy compatibility table

* add django versions to compatibility table

e143ba568cc30d3ae75527a383c91c06ff22926b authored about 5 years ago by Maxim Kurnikov <[email protected]>
add some diagnostic for unused ignores for tests typechecking (#191)

32c0cbca454857cdd1f17e97d51e4b3d7674b57f authored about 5 years ago by Maxim Kurnikov <[email protected]>
Contexts can contain Any data (#192)

acc3ca4205eb107f98574b21d01aaa0dcea320c4 authored about 5 years ago by Anthony Ricaud <[email protected]>
fix compatibility with 0.730 (#189)

be3fc259d5c13ad22cc22ab52596fd802ebe2205 authored about 5 years ago by Maxim Kurnikov <[email protected]>
add unused ignores reporting (#188)

7725b416b64f513aa3ad5aa2aca10eaa8155a78f authored about 5 years ago by Maxim Kurnikov <[email protected]>
Use runtime information to determine whether class is a models.Model subclass (#182)

2c23d8e70fd8dfec02bc92c73f5b249e57fc7d55 authored about 5 years ago by Maxim Kurnikov <[email protected]>
resolve_template accepts Sequences of str (#187)

- resolve_template is checking for lists or tuples so let's use a generic Sequence
- Union[Temp...

5910bd1b256f4b0a03b816200bfecbbb8cad5c46 authored about 5 years ago by Anthony Ricaud <[email protected]>
add linting stubs with flake8-pyi and check for unused imports (#186)

963d50c717282c340fa7d397bdb0402a4e7f9434 authored about 5 years ago by Maxim Kurnikov <[email protected]>
Fix type annotations for django.utils.safestring (#179)

* Add/fix types for django.utils.safestring.mark_safe

Django code ref: https://github.com/djang...

7407b9315109b33ae8c6066c4be7ac1920919f0e authored about 5 years ago by Maxim Kurnikov <[email protected]>
Bump isort, use --diff (#164)

* dev-requirements: bump isort: 4.3.4 => 4.3.21

* isort: use --diff

* known_first_party = ...

afcd0d9293fc91a75eabbc3958c516df8c9e6e7b authored about 5 years ago by Daniel Hahler <[email protected]>
update import_all test, add some stubs for postgres (#178)

a85dbff7934ec9c606d04e8629d5889dbfe0a37f authored about 5 years ago by Maxim Kurnikov <[email protected]>
Add django.contrib.gis.db.models and django.contrib.gis.db.models.fields (#177)

* add django.contrib.gis.db.models and django.contrib.gis.db.models.fields

* install gdal in ...

68aebe25286539ebc9bfe3f3e763781fe9fa6ff3 authored about 5 years ago by Maxim Kurnikov <[email protected]>
related_name is Optional[str] (#176)

In the current Django (2.1, 2.2), the `related_name` parameter to
`OneToOneField` and `ForeignK...

d3dca5b408f89fff02f4c157496e777d945b19f1 authored about 5 years ago by Peter Law <[email protected]>
Options.verbose_name_raw is always a string (#175)

At least in the current implementation.

c69090ec5b3795eaf908777db65d05f2d2975074 authored over 5 years ago by Peter Law <[email protected]>
Split AddManagers for model in separate stages to process IncompleteDefnException properly (#171)

29ac1c3017f764f58bb341e43d11f399076c631a authored over 5 years ago by Maxim Kurnikov <[email protected]>
add custom Field processing for mixins used in the Model subclasses (#167)

23ad65033bc30d371061d29425ca509a919fde9e authored over 5 years ago by Maxim Kurnikov <[email protected]>
add proper stubs for django.contrib.auth.models model fields (#170)

64720f492c4dabe7b6f3c89f49d9acc88e769311 authored over 5 years ago by Maxim Kurnikov <[email protected]>
cleanup some stubs in contrib.admin, contrib.admindocs (#169)

a8fdd4c67350eea564b7728beae1a87e26b274d2 authored over 5 years ago by Maxim Kurnikov <[email protected]>
make types for generic mixins less strict (#168)

813dd8cc1a5a688595480ebdf9e3a49af7d3f567 authored over 5 years ago by Maxim Kurnikov <[email protected]>
Fix typecheck tests ci (#165)

* remove mention of mypy newsemanal to prepare for 0.730

* make typecheck_tests CI really wor...

2b53fa5a1a9db689d0492ccf2de2638a49443571 authored over 5 years ago by Maxim Kurnikov <[email protected]>
WIP: fix scripts/typecheck_tests.py (#162)

* WIP: fix scripts/typecheck_tests.py

Exit non-zero if it fails to run.

Currently it fails...

e3ea84143f2e7b7934fe1681f58d0e031db22fda authored over 5 years ago by Daniel Hahler <[email protected]>
ci: minor cleanup (#161)

* ci: Travis: remove unnecessary option with black

Already in config, adding a final newline ...

82e3aa5464c4665d686432684237e0fe3df8e022 authored over 5 years ago by Daniel Hahler <[email protected]>
flake8: ignore certain errors for .pyi files (#159)

5b9a467cf04ce80d83bc73da873de84fc3f389c1 authored over 5 years ago by Daniel Hahler <[email protected]>
Adds syntax highlight

4a4dc53c4dde6c9a3d2a7f4215c07842cd0d8991 authored over 5 years ago by Nikita Sobolev <[email protected]>
Adds gitter icon

77fd46987de589bf9573dc63bfaa86763d48b54b authored over 5 years ago by Nikita Sobolev <[email protected]>
Adds github tempaltes, refs #112 (#155)

9291164a6bedc10b68dce37e85121f4c89900969 authored over 5 years ago by Nikita Sobolev <[email protected]>