Petter Friberg

Results 43 issues of Petter Friberg

Partially reverts #1672 #2276 started looking through the mro for manager attributes, but that also conflicts with `mypy_django_plugin.transformers.models.MetaclassAdjustments`, which removes `objects` from `django.db.models.Model`. Because if a lookup through the mro...

Change so that we don't trigger unnecessary defer rounds during manager creation via the `from_queryset` method call. Refs: - #1044 - #1023

Release notes on this change can be found here: https://docs.djangoproject.com/en/4.2/releases/4.2/#models

enhancement