I am following the tutorials for Django 1.7.7 and I am at the part where I created the tables in the database, but I have no idea where to go to view them.
It says to open my command line client for your database and type in .schema I opened Python and imported sqlite3 and ran .schema, but that didn't work. I also ran sqlite3.exe and ran .schema but not seeing anything.
Does anyone know what I am doing wrong?
I am following this guide. https://docs.djangoproject.com/en/1.7/intro/tutorial01/
If you are running the sqlite3 command-line access program you can type ". tables" to get a list of all tables. Or you can type ". schema" to see the complete database schema including all tables and indices.
The Android SDK provides dedicated APIs that allow developers to use SQLite databases in their applications. The SQLite files are generally stored on the internal storage under /data/data/<packageName>/databases.
To show all databases in the current connection, you use the . databases command. The . databases command displays at least one database with the name: main .
Run python manage.py dbshell
and this will open your db client with the current database settings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With