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 stubs for remaining commands in django.core.management.commands (#525)

* Add stubs for remaining commands in django.core.management.commands

* Tighten up stub defin...

e798b496c08acc15516cd55cb3f5cb35b4b4a75d authored almost 4 years ago by Tim Martin <[email protected]>
Annotate get_asgi_application (#527)

01af2ff588ada3783ca704f83db5d3400ce112c9 authored almost 4 years ago by Francesc <[email protected]>
change get_user to use a protocol requiring a session (#522)

* change get_user to use a protocol requiring a session
define a "_HasSession" protocol, and up...

aab8acf2ea5075c349ec4e05b4ee95c29bfb5e81 authored almost 4 years ago by proxy <[email protected]>
Add Point and Polygon to contrib.gis.geos (#524)

1c4a7d25c7d1ad521e03efa3e76fb26d4be2b5a6 authored almost 4 years ago by Clarity <[email protected]>
Change InlineModelAdmin.formset to Type[BaseInlineFormSet] (#521)

* Change InlineModelAdmin.formset to Type[BaseInlineFormSet]

* More exact annotations + add N...

a0d61c0de3fa9c91f9d63501ccddfd5b820a3ec7 authored almost 4 years ago by Robert Huselius <[email protected]>
Fix ResourceWarning (#520)

e837dac26a2ebf974f380df667f155d9b066fe90 authored almost 4 years ago by Ceesjan Luiten <[email protected]>
Add `is_active` field to `django.contrib.auth.AbstractBaseUser` model (#517)

* Add `is_active` field to `django.contrib.auth.AbstractBaseUser` model

* Favor defining type...

bbdf15a6ec97ebbf28a9e94d2c4c07805096ca01 authored almost 4 years ago by Yanky Hoffman <[email protected]>
make FormMixin generic to allow proper typing for LoginView (#515)

closes #514

f08b428027b53ab74f0f76c65edacd4becda65e1 authored almost 4 years ago by proxy <[email protected]>
updated package setup (#485)

* updated package setup

* updated to use python 3.9

* fixed test runner

* fixed typeche...

44151c485d167238889f2afd0b90c1b5f63200bb authored almost 4 years ago by Na'aman Hirschfeld <[email protected]>
Provide a more specific signature for django.core.checks.register (#509)

This also corrects the fact that "run_checks" only returns a concatenated list
of all registere...

a3624dec36814bf8118d2c5f1ee3fca2e4f3b48c authored almost 4 years ago by Brian Helba <[email protected]>
Fix Generator Type

9a9a0123c758fadee4079429754fa92c512b5aaa authored almost 4 years ago by James Pulec <[email protected]>
Add resolve_callables to db.models.utils

d3d854dac83a2295662cb651c076f3d77116e07b authored almost 4 years ago by James Pulec <[email protected]>
Ensure that all registered checks take the same parameters (#499)

The Django API requires that registered checks take an "app_configs"
argument, which is a list ...

6dc2c32382840121e37d528ce18959d946445874 authored almost 4 years ago by Brian Helba <[email protected]>
Add django.forms.widgets.FILE_INPUT_CONTRADICTION symbol (#506)

https://github.com/django/django/blob/302caa40e4caab7d95ef7d0a88a90f935039ab09/django/forms/widg...

695cdb16caad0d179589247135e15a43539d32d2 authored almost 4 years ago by Brian Helba <[email protected]>
Version 1.7.0 released

cb1fa08a8298717c3284ea1b895290de150626c8 authored almost 4 years ago by sobolevn <[email protected]>
add additional failing test for ModelAdmin generic (#505)

this will ensure that the generic constraint holds

e2f6abe5796645dde8490f2a8b602a8e4a9681ed authored almost 4 years ago by proxy <[email protected]>
make BaseModelAdmin generic to properly type methods dealing with models (#504)

* make BaseModelAdmin generic to properly type the `obj` argument of ModelAdmin.delete_model
cl...

ffb6551eb423ed9627a235be5f2e27044e508e5f authored almost 4 years ago by proxy <[email protected]>
Update migration.pyi (#501)

* Update migration.pyi

* Fixes tests

* Fixes tests

* Fixes tests

40c8bfa510e9c7f6212f77fe509b04fcd02806a9 authored almost 4 years ago by Nikita Sobolev <[email protected]>
Update http.pyi (#502)

402b7d563f938e47b76931f0656da6df28d22ee3 authored almost 4 years ago by Nikita Sobolev <[email protected]>
Fix #224 add paths in mypy's mypy_path option or MYPYPATH env var for import discovery (#498)

92eb068a040a1388e01e7f34da3f7a8542dacb47 authored almost 4 years ago by Daniel Hillier <[email protected]>
Allow overridable checks to be CheckMessage (#497)

* Allow overridable checks to be CheckMessage

The checks framework expects return types to be...

9d4d06f8b322cc79b6314bc0dd43b769cc415a44 authored almost 4 years ago by Brian Helba <[email protected]>
user parameter for login accepts None (#496)

Co-authored-by: Gilad Sheffer <[email protected]>

d746e3f5e4266b29e5bd980bf869c384e83f4ea0 authored almost 4 years ago by giladsheffer <[email protected]>
correct the type signature of AbstractBaseUser.set_password (#493)

8729a74f8141e24ca630507e4271f984a91a53d2 authored about 4 years ago by proxy <[email protected]>
Fix typoand grammar in readme (#491)

56361b353ecc038c11bbbeaed8477aa4deff28ce authored about 4 years ago by Mark Story <[email protected]>
Changed model exceptions to use more specific base classes. (#490)

b71c9ad282314a7ac3fe63dcdbd3c2fefb5bac8e authored about 4 years ago by Noam <[email protected]>
Missing stubs (#467)

* adding missing db.backends typings and updated test

* added missing stubs

* reformatted ...

ce370ea79f454675e3fc0f275618bfb55a49512f authored about 4 years ago by Na'aman Hirschfeld <[email protected]>
renderer = BaseRenderer instead of EngineMixin in Widget.render() (#481)

2a732fd2573bcddabb7dc284467481b040d26944 authored about 4 years ago by Mariam Maarouf <[email protected]>
Release 1.6.0

645ee97e78a9e1322058241c11eb10af452e27d5 authored about 4 years ago by sobolevn <[email protected]>
Template Loader.get_template_sources yield Origins (#476)

django.template.loaders.base.Loader.get_template_sources should yield Origins:
https://docs.dja...

5bc3759ea2b86540a6cf37efdd3ad0a46be865c2 authored about 4 years ago by William Schwartz <[email protected]>
Use AbstractBaseUser where possible (#475)

Fixes #431

534a028ea2724670ad2f6e09e8f68ffcdfe756c6 authored about 4 years ago by henribru <[email protected]>
psycopg2-binary is faster to install (#473)

87856754eac63a5e21cb2eb95d556ef8285a69d5 authored about 4 years ago by Nicolas Delaby <[email protected]>
Allowed to use decimal in combinables (#454)

Co-authored-by: Szymon Pyżalski <[email protected]>

2f7fac2eaf87fe1e50d635ab14bcbe6c475dabc8 authored about 4 years ago by Szymon Pyżalski <[email protected]>
Check arguments to django.urls.{path,re_path} functions (#464)

These functions were added in Django 2.0, but the stubs have been
incomplete since commit 9a682...

5ff99fd047d8d2aca9ddcea5408b92f76262dcb6 authored about 4 years ago by Marti Raudsepp <[email protected]>
Add db.models.constants stub module (#462)

f77ebcd22cdeb5310bd75d33c9db5f45c3a733d4 authored about 4 years ago by Marti Raudsepp <[email protected]>
Fix wrong type for parse_until in template parser (#460)

34b126e3da3fa26119a689dfaed6a46b3b97dcb0 authored about 4 years ago by Alexander Viklund <[email protected]>
Allows FileField storage to be a Callable (#453)

* Allows FileField storage to be a Callable

The `storage` parameter of `FileField` (and by ex...

6e5f5f2cdba053f5412247b62e3680221164ebcf authored about 4 years ago by Jonathan Moss <[email protected]>
Add "one_to_many", "one_to_one", "many_to_many," and "many_to_one" attributes to Field base class (#449)

* Add "_to_many" and "_to_one" bool attributes to Field base class.

* Remove unused import fr...

95252cde60239b7f3eb5a38973e313b51de15335 authored about 4 years ago by James Perretta <[email protected]>
Add force_color parameter to django.core.management.color.color_style (#448)

6ef2cf0331a81097218ac0fcedcd7b4664191adf authored about 4 years ago by Zach Waggoner <[email protected]>
return type for translation.get_language should not be Optional (#446)

9f3b95841b2b0468ce28926b6f0bb2362c65402a authored about 4 years ago by Alexander Viklund <[email protected]>
Add route argument to ResolverMatch constructor (#442)

e764b1cf4c7d0286860639f21c99c7adfb7696b5 authored about 4 years ago by Federico Bond <[email protected]>
Output a more clear configuration error (#421)

* Output a more clear configuration error

* Performance related improvements in config read h...

8a64d87917030698cca1831d3537096c7b2aa716 authored about 4 years ago by Šarūnas Nejus <[email protected]>
Change select_for_update's 'of' type to Sequence[str] (#440)

60f3f9dd9f09a84f271de976391b9e5101e4392d authored about 4 years ago by Daniel Hillier <[email protected]>
Fix staff_member_required annotations (#436)

* Fix staff_member_required annotations

`redirect_field_name` can be `None`.

* Reformat co...

ca10ee9242ca047e0e6b508e3933eb59cddb0ac5 authored about 4 years ago by Mantas Zimnickas <[email protected]>
Fix type of update_fields parameter to Model.save (#437)

Sending in a single string leads to unexpected behavior and the method
accepts any iterable, no...

f651f27ddf26b36511fafcaa64ab58bed87d3780 authored about 4 years ago by Sigurd Ljødal <[email protected]>
AttributeError exception in build_unannotated_method_args (#429)

* AttributeError exception in build_unannotated_method_args

* assigning [] to arguments if At...

3915aa06392f4cd104c5f3c27cfca198d86d247b authored about 4 years ago by Kacper <[email protected]>
Allow Field.widget to be a class or instance (#426)

According to source below, a Field's widget is allowed to be a class or instance of Widget.

h...

97ec2ee43b17bad55c68994c917321f5abdd1a0e authored over 4 years ago by Nate Clark <[email protected]>
admin: Allow ModelAdmin.actions to contain str (#425)

Strings are allowed in ModelAdmin.actions when they refer to a method on
the ModelAdmin subclass.

19c73a106dc918606f8a9c3db018ccd3f18c1e06 authored over 4 years ago by Daniel Hillier <[email protected]>
additional defer() to offset the effect of using the type before decl… (#424)

* additional defer() to offset the effect of using the type before declaring

* linter fix

...

92ef5d9d95b9ba2f1b2df6bec71205ee128faf75 authored over 4 years ago by Kacper <[email protected]>
Improve *HttpResponse.getvalue() types (#422)

* Change returned type of StreamingHttpResponse.getvalue() to bytes

* Add HttpResponse.getval...

f16d1b8cb6eb20d92642b8ec7d46c5ce5044311c authored over 4 years ago by Daniel Hillier <[email protected]>
Allow more types for args to Paginator.get_page (#418)

c3cdc1c2d58c1ea51133c60342f57df1ba846fa8 authored over 4 years ago by Alexander Viklund <[email protected]>
Don't change type of HttpRequest.user if type has been changed by subclassing (#415)

* Don't change type of HttpRequest.user if type has been changed by subclassing

* Asserts for...

3704d0ab989684571c51bcba7bb09a4bbe9e5ab1 authored over 4 years ago by Alexander Viklund <[email protected]>
Bumped required Mypy version to newest in requirements (#414)

* pytest-mypy-plugins package newer version

* Revert "pytest-mypy-plugins package newer versi...

b1d619edb2d361482c5245625e1e75c33256f96a authored over 4 years ago by Kacper <[email protected]>
Fix partition signature (#413)

e680326c72f1a255db2f40e82645ee397347ef4b authored over 4 years ago by Akseli Nelander <[email protected]>
explicitly mark value and label types on choices enum (#406)

In addition to the meta properties added
to the Choices enums, value and label are
set for eac...

574a87e68cfb2e6ff66b3d7e1a0bb75f51148a8c authored over 4 years ago by Étienne <[email protected]>
🐑 Update update_session_auth_hash() stub (#401)

The update_session_auth_hash() stub doesn't match the documented and
actual type that the funct...

82ae1751ed06f8b769b5a1fb822741f0424e40f4 authored over 4 years ago by coiax <[email protected]>
Allow form.save() in CreateView / UpdateView (#374)

69042783b1186a8f2786cebac451e1504ee039cb authored over 4 years ago by Ceesjan Luiten <[email protected]>
WIP Fix ci/cd (#396)

* pytest-mypy-plugins package newer version

* Revert "pytest-mypy-plugins package newer versi...

391bbc59d5e8acc83f5dbf0b3c918c2e39788fa5 authored over 4 years ago by Kacper <[email protected]>
Fix compatibility table in readme (#395)

28c76df3b2f053b9c72572b59934a08929d36cb5 authored over 4 years ago by Michael <[email protected]>
Closes #392

3d2534ea8d8300c4c9db8f18e300355d5fd5488b authored over 4 years ago by Nikita Sobolev <[email protected]>
Issue 379 (#391)

* pytest-mypy-plugins package newer version

* Revert "pytest-mypy-plugins package newer versi...

54f5f63e719bb16bb51f19b20c5241227db7bc54 authored over 4 years ago by Kacper <[email protected]>
WIP Issue 388 (#390)

* updated mypy dependency

* update readme

* readme update v2

* pytest-mypy-plugins newe...

4c5723d368a1a6a83f320276a0c4f8fdbc44aa3d authored over 4 years ago by Kacper <[email protected]>
BaseForm.prefix may be None (#389)

7e0e43135dc732d1a885151e0371897db1a70761 authored over 4 years ago by Alexander Viklund <[email protected]>
Issue 378 (#387)

* proper redirect return type annotations made with Literal

* Mapping instead of Dict type an...

e05b84e32da70609b96470f4f51ed7be645c6951 authored over 4 years ago by Kacper <[email protected]>
Issue 309 (#383)

* added tags for user models

* type test for HttpRequest.user

* test for User and Anonymou...

71751d3795c28b9f00790ccfdcb8784e228041e8 authored over 4 years ago by Alexander Viklund <[email protected]>
Add get_supported_language_variant (#386)

25f92e8e5605f7640927246e0e22224538c78f89 authored over 4 years ago by Alexander Viklund <[email protected]>
Fix parameter types for assertJSONEqual/NotEqual (#385)

28d47c7e93f50ac349938fc7137546f802c07aee authored over 4 years ago by Alexander Viklund <[email protected]>
Issue 382 (#384)

* WIP fix, pushed for testing

* added _ prefix for internal types

Co-authored-by: Kacper S...

197cb4058ecf4576c1639a391758611a10033115 authored over 4 years ago by Kacper <[email protected]>
Add __init__ to OrderedSet (#381)

dac2b31fb29fcd5c7939700ea95be66d99068a88 authored over 4 years ago by Alexander Viklund <[email protected]>
Issue 355 (#376)

* Mapping instead of Dict type annotation for context in render() with test

* removed Union a...

8d2600136a279870d15a3266895db8ad6e29b29c authored over 4 years ago by Kacper <[email protected]>
Revert "Allow template render to string helper functions to accept Context (#372)" (#377)

This reverts commit 64cbb0f70e0d74459982a010b79fb400288adf8c.

570772f97390f56e1a43750112bf9d6e0998d760 authored over 4 years ago by Pavel Savchenko <[email protected]>
Increase accuracy of ModelAdmin types (#375)

* Increase accuracy of ModelAdmin types

* Add comment for regression test

d5c1bfb12a0e8e29df4b7ac5bc4df62fa845db4c authored over 4 years ago by Anton Agestam <[email protected]>
Allow template render to string helper functions to accept Context (#372)

* Add failing test case for render_to_string

* Allow Context objects in template render funct...

64cbb0f70e0d74459982a010b79fb400288adf8c authored over 4 years ago by Pavel Savchenko <[email protected]>
Add release notes project URL (#365)

Background info at https://github.com/pypa/warehouse/pull/7882

6f5a39625ec3100ea7654157843dfc578c2ed09b authored over 4 years ago by Ville Skyttä <[email protected]>
Add BaseForm._html_output (#364)

bf604a039870ed816e9a89e3c8aad826dccbe3ad authored over 4 years ago by Anthony Ricaud <[email protected]>
Fix wrong BaseCache typings (#363)

django.core.cache.backends.base.BaseCache were invalid. This commit
fixes them in accordance wi...

92c8dfc93f840b936e33eb3f1770293627ac0f15 authored over 4 years ago by Ashish Bansal (mrphantom) <[email protected]>
Add add_to_class method to Model (#361)

* Add add_to_class method to Model

* Fix @classmethod decorator

c10c55052c3ef79d0aedc02e9c9ec102d42e9d3f authored over 4 years ago by Jorgen Phillips <[email protected]>
Annotate AdminForm.__init__ (#359)

96914e466bcd7a65fdd92422586f9ebc72fdf8a8 authored over 4 years ago by Sergey Tikhonov <[email protected]>
Fix Modelform `auto_id` to accept Boolean type. (#356)

90ed7f332def8922d4c72c046794a446b0e4cbc2 authored over 4 years ago by Onyeka Aghanenu <[email protected]>
stub for _build_app_dict (#351)

Co-authored-by: Kacper Szmigiel <[email protected]>

a801501151446478872a8cf5640cf2282923bf4c authored over 4 years ago by Kacper <[email protected]>
Add RESTRICT and RestrictedError to django.db.models.deletion (#345)

* Add RESTRICT and RestrictedError to django.db.models.deletion

* Add black fomatting changes

8ea59985dfc647812998df554b5a55d605f8d09c authored over 4 years ago by Sid Mitra <[email protected]>
Improve type of BaseForms.files (#350)

This is valid Django, which failed to pass with the old type-defintion:

class MyForm(Form...

2964ed53d73fd0686fd5e36f96f1d3a176961d5e authored over 4 years ago by Ceesjan Luiten <[email protected]>
Add state attribute to Model (#347) (#348)

Add from_db method to Model

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

1b9176f994d2c930f88a70f3726e858e731f01ce authored over 4 years ago by Stevan Milic <[email protected]>
Minor type improvements after linting (#343)

54d0d018c608b14938e1141afead9ee595dadda2 authored over 4 years ago by Nikita Sobolev <[email protected]>
bump to 1.5.0

1af3a12f2c7df2513d5a80d28edc80c8376a1e93 authored over 4 years ago by Maxim Kurnikov <[email protected]>
Update to mypy 0.770 (#341)

7af89ee6a6d4973b378007a22ca529c2a63ee5c1 authored over 4 years ago by Marti Raudsepp <[email protected]>
Make decorator functions transparent to Mypy (#306)

By declaring return type as -> Callable[[_C], _C], Mypy can infer that
the decorated function h...

afa16bfb74c9d58527e42d912ce38e220545ede0 authored over 4 years ago by Marti Raudsepp <[email protected]>
Fix CI build errors (#339)

* Updated gitpython dependency to fix error:
ModuleNotFoundError: No module named 'gitdb.util...

f77073157bade3182ed3145458488b02098b28ec authored over 4 years ago by Marti Raudsepp <[email protected]>
Fix input types of humanize functions (#335)

fe3b95c61107ce4bf66fc2377ecd7ecc53194216 authored over 4 years ago by Kevin Marsh <[email protected]>
Add db.models.fields.Field method stubs for custom Fields (#331)

Add stubs for: pre_save, get_db_prep_value, get_db_prep_save

d0f9730c53199ae18e6e72850a02d642ad319c65 authored over 4 years ago by Daniel Hillier <[email protected]>
fix typo in README.md (#328)

0fdd678d65669a809515a8f46aa755454a67a411 authored over 4 years ago by Leo Shklovskii <[email protected]>
signing.loads allows use timedelta for max_age (#325)

* signing.loads allows use timedelta

https://github.com/django/django/blob/stable/2.2.x/djang...

2397065fa6418bf0d614bf3ed5248e122cfe510c authored over 4 years ago by Semyon Pupkov <[email protected]>
Fix readme (#326)

04023a9f31ceb6317b9eccf4fe56989b4ddaee40 authored over 4 years ago by Semyon Pupkov <[email protected]>
Improve test client type stubs (#322)

* Added missing `follow: bool` argument to Client request methods.
* Annotated return types as ...

95e6c94319f403877242e19cdf60186daa08d08e authored over 4 years ago by Marti Raudsepp <[email protected]>
Fix the type of form.Field.widget (#321)

The `widget` class attribute of `form.Field` expects a `Widget` class, not an instance of `Widge...

d96aee7a8ba3519eb72e01e807cc8de739ae8dfb authored over 4 years ago by Brian Helba <[email protected]>
Adds CONTRIBUTING.md (#319)

* Adds CONTRIBUTING.md

Closes #206
Refs #274

* Update CONTRIBUTING.md

2489bb9b040412fa62a0be0fbdcf942b7bd85c17 authored over 4 years ago by Nikita Sobolev <[email protected]>
Update README.md

3a8f278c8852574d2ab7fde7091a6d79109e3364 authored over 4 years ago by Nikita Sobolev <[email protected]>
Update README.md

85b65b457822ef2aceb3cdf59f6a4b54430b61f3 authored over 4 years ago by Nikita Sobolev <[email protected]>
Update README.md (#317)

* Update README.md

* Update README.md

* Update README.md

150e8e862ab4dc557c4dab7d5e686fc00db07489 authored over 4 years ago by Nikita Sobolev <[email protected]>
Fix cache arg type for django.utils.cache.learn_cache_key() (#316)

5b3088a17a76a77cb56a9c2241c2ddc6ccc8153a authored over 4 years ago by Vince Salvino <[email protected]>
Cleanup checks framework (#310)

f89a0fbbaa53a23b80fd0b9bfe8fdbf71da35de8 authored over 4 years ago by Konstantin Alekseev <[email protected]>