sbdchd / django-types

:doughnut: Type stubs for Django
MIT License
188 stars 62 forks source link

fix(django): overload issues with __new__ / __init__ combo #30

Closed sbdchd closed 3 years ago

sbdchd commented 3 years ago

We have a new method defined on Field was causing typing issues with pyright.

This might make creating custom fields harder, but that's the less common case.

rel: https://github.com/sbdchd/django-types/issues/29