django

Run dev server at port 8001

python3 ./manage.py runserver 8001

Inspect DB

python ./manage.py inspectdb

Get a Shell on DB

python ./manage.py dbshell
.tables
select * from <table>

View Schema

.schema <table>
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9