Recommended using .tables on SQLite in tutorial 2.

This commit is contained in:
Victor Sowa 2021-09-29 12:42:59 +02:00 committed by GitHub
parent 36d54b7a14
commit 9466fd7842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ in your :file:`mysite/settings.py` file and the database migrations shipped
with the app (we'll cover those later). You'll see a message for each with the app (we'll cover those later). You'll see a message for each
migration it applies. If you're interested, run the command-line client for your migration it applies. If you're interested, run the command-line client for your
database and type ``\dt`` (PostgreSQL), ``SHOW TABLES;`` (MariaDB, MySQL), database and type ``\dt`` (PostgreSQL), ``SHOW TABLES;`` (MariaDB, MySQL),
``.schema`` (SQLite), or ``SELECT TABLE_NAME FROM USER_TABLES;`` (Oracle) to ``.tables`` (SQLite), or ``SELECT TABLE_NAME FROM USER_TABLES;`` (Oracle) to
display the tables Django created. display the tables Django created.
.. admonition:: For the minimalists .. admonition:: For the minimalists