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.
Sqlconsole only works with the current LTS version of django (2.2).
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
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.1.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for django_sqlconsole-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e379bbb399e8c3afb8aa384e38958c4185e46a6d72e6db3fe34f3634a22b055 |
|
MD5 | e53a6c6956bf0c7f7a7d933da3fc317d |
|
BLAKE2b-256 | fff7303b7cb5d534344909971f52c26900be30e97b2fd4a6a6ad61ccbc918725 |