mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-04-07 08:24:04 +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