django-stubs
django-stubs copied to clipboard
Fix type of <fieldname>_id in query lookups when using ForeignKey(to_field=)
This is similar to #1176, but applies to query lookups instead of model attribute access.
This should be merged after #1178.