diff options
| author | Frank Wiles <frank@revsys.com> | 2019-07-13 14:01:07 -0500 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-07-15 11:04:30 +0200 |
| commit | c1b94e32fb3df25d72b5e9973da7928dddbc3a2e (patch) | |
| tree | 509045012c210a2b5324c771ced1ed81be4697ae /docs/intro/overview.txt | |
| parent | 858cfd74e958b63e81657e5a9fc5f751c19e8192 (diff) | |
Fixed explanation of how to automatically create tables in database.
Diffstat (limited to 'docs/intro/overview.txt')
| -rw-r--r-- | docs/intro/overview.txt | 10 |
1 files 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 </topics/migrations>`. +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 </topics/migrations>`. Enjoy the free API ================== |
