Changes between Initial Version and Version 1 of Ticket #36426
- Timestamp:
- May 31, 2025, 7:47:44 AM (4 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36426 – Description
initial v1 29 29 We could adjust the docs, but at a glance we could probably instead adjust the implementation to just `next()` instead of `[0]` and accept iterables as documented. 30 30 31 django-stubs [https://github.com/typeddjango/django-stubs/blob/5bb841674610e88a162475b7ecf2e950a92c23a8/django-stubs/db/models/query.pyi#L247 types] the argument as ` Model[Iterable]`.31 django-stubs [https://github.com/typeddjango/django-stubs/blob/5bb841674610e88a162475b7ecf2e950a92c23a8/django-stubs/db/models/query.pyi#L247 types] the argument as `Iterable[_Model]`.