django-stubs icon indicating copy to clipboard operation
django-stubs copied to clipboard

PEP-484 stubs for Django

Results 301 django-stubs issues
Sort by recently updated
recently updated
newest added

Not sure why `redis` wasn't spotted before 5.0? It was added in 4.x. How the redis dependency should be handled?

This is a tracking issue for changes that will be needed for Django 5.0, based on [in-development release notes](https://docs.djangoproject.com/en/dev/releases/5.0/). **EDIT:** Please see https://github.com/typeddjango/django-stubs/issues/1493#issuecomment-2105730206 for an up to date progress list....

help wanted
good first issue

The workflow automates pushing new `django-stubs` versions to PyPI triggered from GitHub releases. It does _not_ release `django-stubs-ext`. The workflow requires trusted publishing to be set up in PyPI. I'm...

I noticed that 2 methods on the `Q` object were never typed. I’m not 100% sure about the signature for `flatten`.

# Bug report ## What's wrong Mypy cannot detect the `through` attribute of a `ManyToManyField` within the definition of the enclosing model. To reproduce, add the following test method to...

bug

# Bug report ## What's wrong NameError: value for final name "attr_class_makers" was not set I run mypy on my project using: `mypy --config-file ../.mypy.ini --namespace-packages -p samirpy --show-traceback` I...

bug

As a followup to https://github.com/typeddjango/django-stubs/issues/68 I've noticed that it would not work with: ```python from django.db import models from ...base.models import BaseModelMixin # class BaseModelMixin(models.Model): # class Meta: # abstract...

bug

# Bug report ## What's wrong The return type of `get_queryset` on a `ListView` seems to be `_SupportsPagination[Any]`, which is throwing an error when I try and add a `select_related`...

bug

In https://github.com/typeddjango/django-stubs/issues/1264#issuecomment-1859762279, and to try working on bringing `django-stubs` and `django-types` together, I suggested a workaround that would allow type checkers to natively infer `_ST` and `_GT` without the need...

Right now we have 200$ in our OpenCollective account: https://opencollective.com/typeddjangoorg I think it might be fair to split these funds among active maintainers. So, I want to raise a discussion...

meta