https://github.com/selectnull/django-pyrepl
Use Python 3.13 REPL with Django shell
https://github.com/selectnull/django-pyrepl
Last synced: 3 months ago
JSON representation
Use Python 3.13 REPL with Django shell
- Host: GitHub
- URL: https://github.com/selectnull/django-pyrepl
- Owner: selectnull
- License: mit
- Created: 2024-11-21T23:37:23.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-01-10T22:17:05.000Z (3 months ago)
- Last Synced: 2025-01-19T20:15:44.863Z (3 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- stars - selectnull/django-pyrepl - Use Python 3.13 REPL with Django shell (Python)
README
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](https://treyhunner.com/2024/10/django-and-the-new-python-3-dot-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
```bash
uv add django_pyrepl
```Or if you really need to:
```bash
pip install django_pyrepl
```After that, simply add it to `INSTALLED_APPS` in your project `settings.py`
```python
INSTALLED_APPS = [
...
"django_pyrepl",
...
]
```## Licence
MIT.