Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 847 Bytes

File metadata and controls

40 lines (29 loc) · 847 Bytes

django-pyrepl

You've upgraded your Django project to Python 3.13 and want to try out the new REPL. Unfortunately, it's a no go. But thankfully, Trey Hunner wrote Django and the Python 3.13 REPL article in which he shows how to enable it.

This is just his idea packaged into a installable django app. Full credits go to Trey.

Warning: This app uses unsupported _pyrepl module. Hopefully, the future versions of Python will be supported and this app becomes deprecated.

Installation

uv add django_pyrepl

Or if you really need to:

pip install django_pyrepl

After that, simply add it to INSTALLED_APPS in your project settings.py

INSTALLED_APPS = [
    ...
    "django_pyrepl",
    ...
]

Licence

MIT.