Skip to main content

Use Python 3.13 REPL with Django shell

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_pyrepl-1.0.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

django_pyrepl-1.0.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file django_pyrepl-1.0.0.tar.gz.

File metadata

  • Download URL: django_pyrepl-1.0.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.4

File hashes

Hashes for django_pyrepl-1.0.0.tar.gz
Algorithm Hash digest
SHA256 17b96c379dd8453164ae670c502b7273edd8ebd7836bfb0100fd7256025576d6
MD5 3e11030f0ea229ff59549e2d9bb4c5ab
BLAKE2b-256 c927ba372152ff2a52cf54405d077ea5f03e1ea78d7066255e2326fedfdd7537

See more details on using hashes here.

File details

Details for the file django_pyrepl-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_pyrepl-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee1ed2a5dc13ab49e7306adcdcb7561f0de4cda4756bf391cd1dceb683f4d70b
MD5 bdacbc8780d0d72dd3d5ba3072639c0a
BLAKE2b-256 2c03610d3ae27cd0348165283ad5028d05d8fd8fc7d83dbdd354e263065e1ae2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page