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

Typing too strict for the "LogEntryManager" class' "log_actions" method's "queryset" argument

Open ataylor32 opened this issue 4 months ago • 0 comments

Although the argument is named queryset, it could be any iterable. In fact, django.contrib.admin passes in a list instead of a queryset (source). Currently, django-stubs says that it must be QuerySet[Model] (source).

ataylor32 avatar Jun 11 '25 02:06 ataylor32