1
0
mirror of https://github.com/django/django.git synced 2025-07-19 09:09:13 +00:00

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

Backport of d52b0c5b38cce633a75420a703a15f03aabd70dd from master
This commit is contained in:
Tim Graham 2015-12-22 09:56:25 -05:00
parent c80d85d4ad
commit 923a4fb20a
4 changed files with 8 additions and 2 deletions

View File

@ -303,6 +303,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.

View File

@ -2069,7 +2069,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

View File

@ -1564,7 +1564,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

View File

@ -1404,6 +1404,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.