diff options
| author | Tim Graham <timograham@gmail.com> | 2014-12-26 13:56:08 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-01-18 15:58:06 -0500 |
| commit | 7e8cf74dc74539f40f4cea53c1e8bba82791fcb6 (patch) | |
| tree | ed5ab7926f7856804b062b89326e62b8ee15ff94 /docs/ref/django-admin.txt | |
| parent | 9704b0a82e1f1c6ed0118f948a56652594f0a43b (diff) | |
Removed support for syncing apps without migrations per deprecation timeline.
Kept support for creating models without migrations when running tests
(especially for Django's test suite).
Diffstat (limited to 'docs/ref/django-admin.txt')
| -rw-r--r-- | docs/ref/django-admin.txt | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index d29213c185..6a26c573aa 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -963,53 +963,6 @@ beyond those apps. Same as ``--list``, applied migrations are marked by an ``[X]``. For a verbosity of 2 and above, all dependencies of a migration will also be shown. -sql <app_label app_label ...> ------------------------------ - -.. django-admin:: sql - -Prints the CREATE TABLE SQL statements for the given app name(s). - -The :djadminopt:`--database` option can be used to specify the database for -which to print the SQL. - -sqlall <app_label app_label ...> --------------------------------- - -.. django-admin:: sqlall - -Prints the CREATE TABLE and initial-data SQL statements for the given app name(s). - -The :djadminopt:`--database` option can be used to specify the database for -which to print the SQL. - -.. versionchanged:: 1.7 - - The ``sql*`` management commands now respect the ``allow_migrate()`` method - of :setting:`DATABASE_ROUTERS`. If you have models synced to non-default - databases, use the :djadminopt:`--database` flag to get SQL for those - models (previously they would always be included in the output). - -sqlclear <app_label app_label ...> ----------------------------------- - -.. django-admin:: sqlclear - -Prints the DROP TABLE SQL statements for the given app name(s). - -The :djadminopt:`--database` option can be used to specify the database for -which to print the SQL. - -sqldropindexes <app_label app_label ...> ----------------------------------------- - -.. django-admin:: sqldropindexes - -Prints the DROP INDEX SQL statements for the given app name(s). - -The :djadminopt:`--database` option can be used to specify the database for -which to print the SQL. - sqlflush -------- @@ -1021,16 +974,6 @@ command. The :djadminopt:`--database` option can be used to specify the database for which to print the SQL. -sqlindexes <app_label app_label ...> ------------------------------------- - -.. django-admin:: sqlindexes - -Prints the CREATE INDEX SQL statements for the given app name(s). - -The :djadminopt:`--database` option can be used to specify the database for -which to print the SQL. - sqlmigrate <app_label> <migrationname> -------------------------------------- |
