Skip to content

Use Django 5.2 to support both latest Python and PythonAnywhere#1892

Open
jacebrowning wants to merge 1 commit intoDjangoGirls:masterfrom
jacebrowning:use-django-5.2
Open

Use Django 5.2 to support both latest Python and PythonAnywhere#1892
jacebrowning wants to merge 1 commit intoDjangoGirls:masterfrom
jacebrowning:use-django-5.2

Conversation

@jacebrowning
Copy link
Copy Markdown
Contributor

@jacebrowning jacebrowning commented Apr 3, 2026

The Python website installs Python 3.14 by default. The default version of Python installed on PythonAnywhere is Python 3.10. Django 5.2 is the only version that supports both.

Specifically, the admin UI in Django 5.1 crashes with Python 3.14: https://forum.djangoproject.com/t/attributeerror-super-object-has-no-attribute-dicts-in-django-admin-for-custom-user-model/38556


Fixes #1887

@jacebrowning jacebrowning marked this pull request as ready for review April 3, 2026 23:12
@jacebrowning jacebrowning requested a review from a team as a code owner April 3, 2026 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Django 5.2.x compatibility issue with Python 3.14 (temporary workaround)

1 participant