mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-01-26 21:09:02 +08:00
* Fix type of <fieldname>_id when using ForeignKey(to_field=) Previously mypy_django_plugin would always use the field type of target model's primary key, but `to_field` can refer to a different field type. * Fixes * More fixes