sobolevn
sobolevn
@kaldown do you want to experiment with code / docs changes to support `django-configurations`? :)
Sorry, I don't have time right now to dig into this :(
PR is welcome :)
You can try to use class-level attribute annotation with `Field`: https://github.com/typeddjango/django-stubs/blob/master/django-stubs/db/models/fields/__init__.pyi#L45 It is a generic type with two parameters: - `_ST` for types that can be used when settings a...
Thanks! Can you please also attach `mypy` output to your gist?
Yes, we should totally work on docs :)
Related https://github.com/hauntsaninja/mypy_primer/issues/8
CC @hauntsaninja
I think instead we can make `AUTH_USER_MODEL` an actual type and use it everywhere 🤔
I think we can at least experiment to do something like this: 1. Import `settings.AUTH_USER_MODEL` model from runtime 2. Pass it through our regular plugin machinery 3. Redefine `settings.AUTH_USER_MODEL` to...