Steve Dignam

Results 174 comments of Steve Dignam

Thank you for the report! yeah this project aims to track the latest version of django, but tends to get out of sync

Hmm good question, I'm not super familiar with using Pyright for type checking, I usually use it for autocomplete and run mypy in CI, but: 1. might just have to...

Yeah don't really have any docs on those, but I think it would be similar to the ForeignKey where we have to do some `if TYPE_CHECKING` stuff Using the django...

Yikes, that's pretty dynamic. I'm not sure there is a good way. I think the best we can do is pretend the attr is always there.

Hmm this is tricky! I believe I used django-enum on a past project, but can't remember how we got it to work or if we stopped using it It might...

Not really sure how to do it without some codegen aspect problem is really lack of advanced stuff in python typing and how Django sets this stuff up

Hmm we might need to tweak the overloads a bit, I think it should be possible to have it typed properly without having to specify the through model

> I found this in Django wiki (GSoC 2023): https://code.djangoproject.com/wiki/SummerOfCode2023#Mergingdjango-typesbackintodjango-stubs > > I'm wondering if you agree with this characterisation: > > > There is a spin-off project from django-stubs...

Hopefully, I don't see anything python 3.7 specific in the codebase, probably just defaulted to 3.7 because that's what I use in some other projects So I think we need...