Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django 4.2 + Python 3.8 #254

Merged
merged 4 commits into from
Jun 20, 2024
Merged

Django 4.2 + Python 3.8 #254

merged 4 commits into from
Jun 20, 2024

Conversation

noelleleigh
Copy link

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
Copy link
Owner

sbdchd commented Jun 17, 2024

Thank you!

Ran pyenv lock

Django 4.2 requires Python 3.8 or newer.
typings/django/db/models/fields/__init__.pyi:228: error: Unused "type: ignore" comment
typings/django/db/models/fields/__init__.pyi:948: error: Unused "type: ignore" comment
@noelleleigh
Copy link
Author

@sbdchd sbdchd merged commit f8b2629 into sbdchd:main Jun 20, 2024
2 checks passed
@noelleleigh noelleleigh deleted the django-4.2 branch June 20, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants