From c1b94e32fb3df25d72b5e9973da7928dddbc3a2e Mon Sep 17 00:00:00 2001 From: Frank Wiles Date: Sat, 13 Jul 2019 14:01:07 -0500 Subject: [PATCH] Fixed explanation of how to automatically create tables in database. --- docs/intro/overview.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/intro/overview.txt b/docs/intro/overview.txt index bd2eb58989..47af40533c 100644 --- a/docs/intro/overview.txt +++ b/docs/intro/overview.txt @@ -48,16 +48,18 @@ database-schema problems. Here's a quick example: Install it ========== -Next, run the Django command-line utility to create the database tables +Next, run the Django command-line utilities to create the database tables automatically: .. console:: + $ python manage.py makemigrations $ python manage.py migrate -The :djadmin:`migrate` command looks at all your available models and creates -tables in your database for whichever tables don't already exist, as well as -optionally providing :doc:`much richer schema control `. +The :djadmin:`makemigrations` command looks at all your available models and +creates migrations for whichever tables don't already exist. :djadmin:`migrate` +runs the migrations and creates tables in your database, as well as optionally +providing :doc:`much richer schema control `. Enjoy the free API ==================