Beginner problem with sqlite3 db

41 views
Skip to first unread message

Robert Latoszewski

unread,
Sep 17, 2018, 7:38:57 PM9/17/18
to Django users
Hi, 
I'm going through "Writing your first Django app, part 2" link and I have problem with sqlite3 db - I have created database tables with migrate command (got db.sqlite3 file in my project folder) and I would like to display those tables and have already tried milion ways with .schema command but none of them worked. Any ideas what can be the problem? I haven't installed sqlite3 beacuse documentation says that it's already preinstalled with django, althoug when I tried "py manage.py dbshell" command error appeared: "You appear not to have the 'sqlite3' program installed or on your path."
Django==2.1.1 on Windows (tried to see this db with Powershell). 
Any help will be appreciated. 

Mateusz

unread,
Sep 18, 2018, 8:17:59 PM9/18/18
to Django users
Cześć! ;)

You should first answer a question, why do you even bother using dbshell when there's an other option to deal with data? (docs)
If you know why I'm asking, simply installing sqlite3 is gonna be the best option for you (download page).
Reply all
Reply to author
Forward
0 new messages