summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/gis/tutorial.txt3
-rw-r--r--docs/ref/django-admin.txt6
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/ref/contrib/gis/tutorial.txt b/docs/ref/contrib/gis/tutorial.txt
index c93e55ec69..ea78274781 100644
--- a/docs/ref/contrib/gis/tutorial.txt
+++ b/docs/ref/contrib/gis/tutorial.txt
@@ -286,6 +286,9 @@ This command should produce the following output:
.. code-block:: sql
BEGIN;
+ --
+ -- Create model WorldBorder
+ --
CREATE TABLE "world_worldborder" (
"id" serial NOT NULL PRIMARY KEY,
"name" varchar(50) NOT NULL,
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index e9dbe4b746..3515c615e7 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -984,6 +984,12 @@ By default, the SQL created is for running the migration in the forwards
direction. Pass ``--backwards`` to generate the SQL for
unapplying the migration instead.
+.. versionchanged:: 1.9
+
+ To increase the readability of the overall SQL output the SQL code
+ generated for each migration operation is preceded by the operation's
+ description.
+
sqlsequencereset <app_label app_label ...>
------------------------------------------