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.
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 ofdjango.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.