Skip to main content

sql console is an app which allows for the exeuting of sql queries in the admin section of django.

Project description

Django SQL Console

Sqlconsole is a django app that allows for the execution of sql queries from the admin section of a django site.

Install

pip install django-sqlconsole

Add the app to INSTALLED_APPS

INSTALLED_APPS = [
...
'sqlconsole'
]

Add the console url to the projects base urls.py file

urlpatterns = [
...,
path(
        "admin/console/",
        include(("sqlconsole.urls", "sqlconsole"), namespace="console"),
    ),
]

Go the url localhost:8000/admin/console to start entering queries.

Screenshot

Example Query

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-sqlconsole-1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_sqlconsole-1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file django-sqlconsole-1.0.tar.gz.

File metadata

  • Download URL: django-sqlconsole-1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for django-sqlconsole-1.0.tar.gz
Algorithm Hash digest
SHA256 a47b2606bcf0c7dc72ad10ad6f232d843cb3cd66c8ccc7f25d739e176e0d3c42
MD5 fc6d16c1d6c79b8176edbb875f5a322f
BLAKE2b-256 0722578beefccfd765d3cc57949eacfab8c0a7890026c9b05f3e8320ea3ac00c

See more details on using hashes here.

File details

Details for the file django_sqlconsole-1.0-py3-none-any.whl.

File metadata

  • Download URL: django_sqlconsole-1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for django_sqlconsole-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ed777291761fbe919be751d53185e16762138baee99676616caa20f4d81941d
MD5 f19fcbe5c72cfb532414ecfcaa636855
BLAKE2b-256 2273b0eceff76a3d261c3168f6ddebf06642de21dd669f59477ecff348cc440f

See more details on using hashes here.

Supported by

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