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
* Tighten up stub defin...
e798b496c08acc15516cd55cb3f5cb35b4b4a75d authored about 4 years ago by Tim Martin <[email protected]>01af2ff588ada3783ca704f83db5d3400ce112c9 authored about 4 years ago by Francesc <[email protected]>
* change get_user to use a protocol requiring a session
define a "_HasSession" protocol, and up...
1c4a7d25c7d1ad521e03efa3e76fb26d4be2b5a6 authored about 4 years ago by Clarity <[email protected]>
* Change InlineModelAdmin.formset to Type[BaseInlineFormSet]
* More exact annotations + add N...
a0d61c0de3fa9c91f9d63501ccddfd5b820a3ec7 authored about 4 years ago by Robert Huselius <[email protected]>e837dac26a2ebf974f380df667f155d9b066fe90 authored about 4 years ago by Ceesjan Luiten <[email protected]>
* Add `is_active` field to `django.contrib.auth.AbstractBaseUser` model
* Favor defining type...
bbdf15a6ec97ebbf28a9e94d2c4c07805096ca01 authored about 4 years ago by Yanky Hoffman <[email protected]>closes #514
f08b428027b53ab74f0f76c65edacd4becda65e1 authored about 4 years ago by proxy <[email protected]>* updated package setup
* updated to use python 3.9
* fixed test runner
* fixed typeche...
44151c485d167238889f2afd0b90c1b5f63200bb authored about 4 years ago by Na'aman Hirschfeld <[email protected]>
This also corrects the fact that "run_checks" only returns a concatenated list
of all registere...
9a9a0123c758fadee4079429754fa92c512b5aaa authored about 4 years ago by James Pulec <[email protected]>
d3d854dac83a2295662cb651c076f3d77116e07b authored about 4 years ago by James Pulec <[email protected]>
The Django API requires that registered checks take an "app_configs"
argument, which is a list ...
https://github.com/django/django/blob/302caa40e4caab7d95ef7d0a88a90f935039ab09/django/forms/widg...
695cdb16caad0d179589247135e15a43539d32d2 authored about 4 years ago by Brian Helba <[email protected]>cb1fa08a8298717c3284ea1b895290de150626c8 authored about 4 years ago by sobolevn <[email protected]>
this will ensure that the generic constraint holds
e2f6abe5796645dde8490f2a8b602a8e4a9681ed authored about 4 years ago by proxy <[email protected]>
* make BaseModelAdmin generic to properly type the `obj` argument of ModelAdmin.delete_model
cl...
* Update migration.pyi
* Fixes tests
* Fixes tests
* Fixes tests
40c8bfa510e9c7f6212f77fe509b04fcd02806a9 authored about 4 years ago by Nikita Sobolev <[email protected]>402b7d563f938e47b76931f0656da6df28d22ee3 authored about 4 years ago by Nikita Sobolev <[email protected]>
92eb068a040a1388e01e7f34da3f7a8542dacb47 authored about 4 years ago by Daniel Hillier <[email protected]>
* Allow overridable checks to be CheckMessage
The checks framework expects return types to be...
9d4d06f8b322cc79b6314bc0dd43b769cc415a44 authored about 4 years ago by Brian Helba <[email protected]>Co-authored-by: Gilad Sheffer <[email protected]>
d746e3f5e4266b29e5bd980bf869c384e83f4ea0 authored about 4 years ago by giladsheffer <[email protected]>8729a74f8141e24ca630507e4271f984a91a53d2 authored about 4 years ago by proxy <[email protected]>
56361b353ecc038c11bbbeaed8477aa4deff28ce authored about 4 years ago by Mark Story <[email protected]>
b71c9ad282314a7ac3fe63dcdbd3c2fefb5bac8e authored about 4 years ago by Noam <[email protected]>
* adding missing db.backends typings and updated test
* added missing stubs
* reformatted ...
ce370ea79f454675e3fc0f275618bfb55a49512f authored about 4 years ago by Na'aman Hirschfeld <[email protected]>2a732fd2573bcddabb7dc284467481b040d26944 authored about 4 years ago by Mariam Maarouf <[email protected]>
645ee97e78a9e1322058241c11eb10af452e27d5 authored about 4 years ago by sobolevn <[email protected]>
django.template.loaders.base.Loader.get_template_sources should yield Origins:
https://docs.dja...
Fixes #431
534a028ea2724670ad2f6e09e8f68ffcdfe756c6 authored about 4 years ago by henribru <[email protected]>87856754eac63a5e21cb2eb95d556ef8285a69d5 authored about 4 years ago by Nicolas Delaby <[email protected]>
Co-authored-by: Szymon Pyżalski <[email protected]>
2f7fac2eaf87fe1e50d635ab14bcbe6c475dabc8 authored over 4 years ago by Szymon Pyżalski <[email protected]>
These functions were added in Django 2.0, but the stubs have been
incomplete since commit 9a682...
f77ebcd22cdeb5310bd75d33c9db5f45c3a733d4 authored over 4 years ago by Marti Raudsepp <[email protected]>
34b126e3da3fa26119a689dfaed6a46b3b97dcb0 authored over 4 years ago by Alexander Viklund <[email protected]>
* Allows FileField storage to be a Callable
The `storage` parameter of `FileField` (and by ex...
6e5f5f2cdba053f5412247b62e3680221164ebcf authored over 4 years ago by Jonathan Moss <[email protected]>* Add "_to_many" and "_to_one" bool attributes to Field base class.
* Remove unused import fr...
95252cde60239b7f3eb5a38973e313b51de15335 authored over 4 years ago by James Perretta <[email protected]>6ef2cf0331a81097218ac0fcedcd7b4664191adf authored over 4 years ago by Zach Waggoner <[email protected]>
9f3b95841b2b0468ce28926b6f0bb2362c65402a authored over 4 years ago by Alexander Viklund <[email protected]>
e764b1cf4c7d0286860639f21c99c7adfb7696b5 authored over 4 years ago by Federico Bond <[email protected]>
* Output a more clear configuration error
* Performance related improvements in config read h...
8a64d87917030698cca1831d3537096c7b2aa716 authored over 4 years ago by Šarūnas Nejus <[email protected]>60f3f9dd9f09a84f271de976391b9e5101e4392d authored over 4 years ago by Daniel Hillier <[email protected]>
* Fix staff_member_required annotations
`redirect_field_name` can be `None`.
* Reformat co...
ca10ee9242ca047e0e6b508e3933eb59cddb0ac5 authored over 4 years ago by Mantas Zimnickas <[email protected]>
Sending in a single string leads to unexpected behavior and the method
accepts any iterable, no...
* AttributeError exception in build_unannotated_method_args
* assigning [] to arguments if At...
3915aa06392f4cd104c5f3c27cfca198d86d247b authored over 4 years ago by Kacper <[email protected]>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]>
Strings are allowed in ModelAdmin.actions when they refer to a method on
the ModelAdmin subclass.
* additional defer() to offset the effect of using the type before declaring
* linter fix
...
92ef5d9d95b9ba2f1b2df6bec71205ee128faf75 authored over 4 years ago by Kacper <[email protected]>* Change returned type of StreamingHttpResponse.getvalue() to bytes
* Add HttpResponse.getval...
f16d1b8cb6eb20d92642b8ec7d46c5ce5044311c authored over 4 years ago by Daniel Hillier <[email protected]>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
* Asserts for...
3704d0ab989684571c51bcba7bb09a4bbe9e5ab1 authored over 4 years ago by Alexander Viklund <[email protected]>* pytest-mypy-plugins package newer version
* Revert "pytest-mypy-plugins package newer versi...
b1d619edb2d361482c5245625e1e75c33256f96a authored over 4 years ago by Kacper <[email protected]>e680326c72f1a255db2f40e82645ee397347ef4b authored over 4 years ago by Akseli Nelander <[email protected]>
In addition to the meta properties added
to the Choices enums, value and label are
set for eac...
The update_session_auth_hash() stub doesn't match the documented and
actual type that the funct...
69042783b1186a8f2786cebac451e1504ee039cb authored over 4 years ago by Ceesjan Luiten <[email protected]>
* pytest-mypy-plugins package newer version
* Revert "pytest-mypy-plugins package newer versi...
391bbc59d5e8acc83f5dbf0b3c918c2e39788fa5 authored over 4 years ago by Kacper <[email protected]>28c76df3b2f053b9c72572b59934a08929d36cb5 authored over 4 years ago by Michael <[email protected]>
3d2534ea8d8300c4c9db8f18e300355d5fd5488b authored over 4 years ago by Nikita Sobolev <[email protected]>
* pytest-mypy-plugins package newer version
* Revert "pytest-mypy-plugins package newer versi...
54f5f63e719bb16bb51f19b20c5241227db7bc54 authored over 4 years ago by Kacper <[email protected]>* updated mypy dependency
* update readme
* readme update v2
* pytest-mypy-plugins newe...
4c5723d368a1a6a83f320276a0c4f8fdbc44aa3d authored over 4 years ago by Kacper <[email protected]>7e0e43135dc732d1a885151e0371897db1a70761 authored over 4 years ago by Alexander Viklund <[email protected]>
* proper redirect return type annotations made with Literal
* Mapping instead of Dict type an...
e05b84e32da70609b96470f4f51ed7be645c6951 authored over 4 years ago by Kacper <[email protected]>* 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]>25f92e8e5605f7640927246e0e22224538c78f89 authored over 4 years ago by Alexander Viklund <[email protected]>
28d47c7e93f50ac349938fc7137546f802c07aee authored over 4 years ago by Alexander Viklund <[email protected]>
* 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]>dac2b31fb29fcd5c7939700ea95be66d99068a88 authored over 4 years ago by Alexander Viklund <[email protected]>
* 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]>This reverts commit 64cbb0f70e0d74459982a010b79fb400288adf8c.
570772f97390f56e1a43750112bf9d6e0998d760 authored over 4 years ago by Pavel Savchenko <[email protected]>* Increase accuracy of ModelAdmin types
* Add comment for regression test
d5c1bfb12a0e8e29df4b7ac5bc4df62fa845db4c authored over 4 years ago by Anton Agestam <[email protected]>* 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]>Background info at https://github.com/pypa/warehouse/pull/7882
6f5a39625ec3100ea7654157843dfc578c2ed09b authored over 4 years ago by Ville Skyttä <[email protected]>bf604a039870ed816e9a89e3c8aad826dccbe3ad authored over 4 years ago by Anthony Ricaud <[email protected]>
django.core.cache.backends.base.BaseCache were invalid. This commit
fixes them in accordance wi...
* Add add_to_class method to Model
* Fix @classmethod decorator
c10c55052c3ef79d0aedc02e9c9ec102d42e9d3f authored over 4 years ago by Jorgen Phillips <[email protected]>96914e466bcd7a65fdd92422586f9ebc72fdf8a8 authored over 4 years ago by Sergey Tikhonov <[email protected]>
90ed7f332def8922d4c72c046794a446b0e4cbc2 authored over 4 years ago by Onyeka Aghanenu <[email protected]>
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
* Add black fomatting changes
8ea59985dfc647812998df554b5a55d605f8d09c authored over 4 years ago by Sid Mitra <[email protected]>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 from_db method to Model
Co-authored-by: Stevan Milic <[email protected]>
1b9176f994d2c930f88a70f3726e858e731f01ce authored over 4 years ago by Stevan Milic <[email protected]>54d0d018c608b14938e1141afead9ee595dadda2 authored almost 5 years ago by Nikita Sobolev <[email protected]>
1af3a12f2c7df2513d5a80d28edc80c8376a1e93 authored almost 5 years ago by Maxim Kurnikov <[email protected]>
7af89ee6a6d4973b378007a22ca529c2a63ee5c1 authored almost 5 years ago by Marti Raudsepp <[email protected]>
By declaring return type as -> Callable[[_C], _C], Mypy can infer that
the decorated function h...
* Updated gitpython dependency to fix error:
ModuleNotFoundError: No module named 'gitdb.util...
fe3b95c61107ce4bf66fc2377ecd7ecc53194216 authored almost 5 years ago by Kevin Marsh <[email protected]>
Add stubs for: pre_save, get_db_prep_value, get_db_prep_save
d0f9730c53199ae18e6e72850a02d642ad319c65 authored almost 5 years ago by Daniel Hillier <[email protected]>0fdd678d65669a809515a8f46aa755454a67a411 authored almost 5 years ago by Leo Shklovskii <[email protected]>
* signing.loads allows use timedelta
https://github.com/django/django/blob/stable/2.2.x/djang...
2397065fa6418bf0d614bf3ed5248e122cfe510c authored almost 5 years ago by Semyon Pupkov <[email protected]>04023a9f31ceb6317b9eccf4fe56989b4ddaee40 authored almost 5 years ago by Semyon Pupkov <[email protected]>
* Added missing `follow: bool` argument to Client request methods.
* Annotated return types as ...
The `widget` class attribute of `form.Field` expects a `Widget` class, not an instance of `Widge...
d96aee7a8ba3519eb72e01e807cc8de739ae8dfb authored almost 5 years ago by Brian Helba <[email protected]>* Adds CONTRIBUTING.md
Closes #206
Refs #274
* Update CONTRIBUTING.md
2489bb9b040412fa62a0be0fbdcf942b7bd85c17 authored almost 5 years ago by Nikita Sobolev <[email protected]>3a8f278c8852574d2ab7fde7091a6d79109e3364 authored almost 5 years ago by Nikita Sobolev <[email protected]>
85b65b457822ef2aceb3cdf59f6a4b54430b61f3 authored almost 5 years ago by Nikita Sobolev <[email protected]>
* Update README.md
* Update README.md
* Update README.md
150e8e862ab4dc557c4dab7d5e686fc00db07489 authored almost 5 years ago by Nikita Sobolev <[email protected]>5b3088a17a76a77cb56a9c2241c2ddc6ccc8153a authored almost 5 years ago by Vince Salvino <[email protected]>
f89a0fbbaa53a23b80fd0b9bfe8fdbf71da35de8 authored almost 5 years ago by Konstantin Alekseev <[email protected]>