diff options
| author | Niels Van Och <niels.vanoch@gmail.com> | 2015-11-07 14:43:06 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-12-18 11:20:00 -0500 |
| commit | 99a1265a394cb50f5b5aa9046f7b6cd230bc25cf (patch) | |
| tree | 79a1063b1731ddeaba4df9ce7df9fc3025e79acf /docs | |
| parent | e09007076138d71d9605c4acd94acdf29cbc87e7 (diff) | |
Fixed #25063 -- Added path to makemigration's output of migration file.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/intro/tutorial02.txt | 2 | ||||
| -rw-r--r-- | docs/ref/contrib/gis/tutorial.txt | 2 | ||||
| -rw-r--r-- | docs/releases/1.10.txt | 3 | ||||
| -rw-r--r-- | docs/topics/migrations.txt | 2 |
4 files changed, 6 insertions, 3 deletions
diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt index 1e3c1accf7..f6272d479c 100644 --- a/docs/intro/tutorial02.txt +++ b/docs/intro/tutorial02.txt @@ -227,7 +227,7 @@ You should see something similar to the following: .. code-block:: text Migrations for 'polls': - 0001_initial.py: + polls/migrations/0001_initial.py: - Create model Choice - Create model Question - Add field question to choice diff --git a/docs/ref/contrib/gis/tutorial.txt b/docs/ref/contrib/gis/tutorial.txt index cc2df71ec1..89365442c0 100644 --- a/docs/ref/contrib/gis/tutorial.txt +++ b/docs/ref/contrib/gis/tutorial.txt @@ -239,7 +239,7 @@ create a database migration: $ python manage.py makemigrations Migrations for 'world': - 0001_initial.py: + world/migrations/0001_initial.py: - Create model WorldBorder Let's look at the SQL that will generate the table for the ``WorldBorder`` diff --git a/docs/releases/1.10.txt b/docs/releases/1.10.txt index 10a517f82d..64b92a26b6 100644 --- a/docs/releases/1.10.txt +++ b/docs/releases/1.10.txt @@ -199,6 +199,9 @@ Management Commands command exit with a non-zero status when model changes without migrations are detected. +* :djadmin:`makemigrations` now displays the path to the migration files that + it generates. + Migrations ^^^^^^^^^^ diff --git a/docs/topics/migrations.txt b/docs/topics/migrations.txt index 24491c6632..5312b956ba 100644 --- a/docs/topics/migrations.txt +++ b/docs/topics/migrations.txt @@ -115,7 +115,7 @@ a field and remove a model - and then run :djadmin:`makemigrations`:: $ python manage.py makemigrations Migrations for 'books': - 0003_auto.py: + books/migrations/0003_auto.py: - Alter field author on book Your models will be scanned and compared to the versions currently |
