浏览代码

Fixed #25965 -- Added removal of sql* commands to 1.9 release notes.

Tim Graham 9 年之前
父节点
当前提交
d52b0c5b38
共有 4 个文件被更改,包括 8 次插入2 次删除
  1. 3 0
      docs/internals/deprecation.txt
  2. 1 1
      docs/man/django-admin.1
  3. 1 1
      docs/ref/django-admin.txt
  4. 3 0
      docs/releases/1.9.txt

+ 3 - 0
docs/internals/deprecation.txt

@@ -327,6 +327,9 @@ details on these changes.
   become compulsory for all apps unless you pass the ``--run-syncdb`` option to
   become compulsory for all apps unless you pass the ``--run-syncdb`` option to
   ``migrate``.
   ``migrate``.
 
 
+* The SQL management commands for apps without migrations, ``sql``, ``sqlall``,
+  ``sqlclear``, ``sqldropindexes``, and ``sqlindexes``, will be removed.
+
 * Support for automatic loading of ``initial_data`` fixtures and initial SQL
 * Support for automatic loading of ``initial_data`` fixtures and initial SQL
   data will be removed.
   data will be removed.
 
 

+ 1 - 1
docs/man/django-admin.1

@@ -2067,7 +2067,7 @@ Example usage:
 .sp
 .sp
 .nf
 .nf
 .ft C
 .ft C
-django\-admin sqlall \-\-no\-color
+django\-admin runserver \-\-no\-color
 .ft P
 .ft P
 .fi
 .fi
 .UNINDENT
 .UNINDENT

+ 1 - 1
docs/ref/django-admin.txt

@@ -1556,7 +1556,7 @@ that ``django-admin`` should print to the console.
 
 
 Example usage::
 Example usage::
 
 
-    django-admin sqlall --no-color
+    django-admin runserver --no-color
 
 
 By default, ``django-admin`` will format the output to be colorized. For
 By default, ``django-admin`` will format the output to be colorized. For
 example, errors will be printed to the console in red and SQL statements will
 example, errors will be printed to the console in red and SQL statements will

+ 3 - 0
docs/releases/1.9.txt

@@ -1406,6 +1406,9 @@ removed in Django 1.9 (please see the :ref:`deprecation timeline
   compulsory for all apps unless you pass the :djadminopt:`--run-syncdb`
   compulsory for all apps unless you pass the :djadminopt:`--run-syncdb`
   option to ``migrate``.
   option to ``migrate``.
 
 
+* The SQL management commands for apps without migrations, ``sql``, ``sqlall``,
+  ``sqlclear``, ``sqldropindexes``, and ``sqlindexes``, are removed.
+
 * Support for automatic loading of ``initial_data`` fixtures and initial SQL
 * Support for automatic loading of ``initial_data`` fixtures and initial SQL
   data is removed.
   data is removed.