sbdchd / django-types

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

Django 4.2 + Python 3.8 #254

Closed noelleleigh closed 2 months ago

noelleleigh commented 2 months ago

I was trying to figure out why Form.get_context() wasn't getting detected, and realized that sometime between Django 3.2 LTS and Django 4.2 LTS, BaseForm became a subclass of django.forms.utils.RenderableFormMixin, which doesn't exist in Django 3.2 LTS.

I upgraded both Python and Django to the next major supported version. As a justification for the upgrade, both Django 3.2 and Python 3.7 have reached end-of-life and are no longer supported.

What do you think? This should make it easier to keep up with Django's library changes.

sbdchd commented 2 months ago

Thank you!

noelleleigh commented 2 months ago

The automerger seems to be having an issue?