mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #23868 -- Added support for non-unique django-admin-options in docs.
Also documented missing short command line options to fix #24134. This bumps the minimum sphinx version required to build the docs to 1.3.4. Thanks Simon Charette for review.
This commit is contained in:
@@ -698,16 +698,16 @@ Internationalization
|
||||
Management Commands
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
* The :djadminopt:`--no-color` option for ``django-admin`` allows you to
|
||||
disable the colorization of management command output.
|
||||
* The new :option:`--no-color` option for ``django-admin`` disables the
|
||||
colorization of management command output.
|
||||
|
||||
* The new :djadminopt:`--natural-foreign` and :djadminopt:`--natural-primary`
|
||||
options for :djadmin:`dumpdata`, and the new ``use_natural_foreign_keys`` and
|
||||
* The new :option:`dumpdata --natural-foreign` and :option:`dumpdata
|
||||
--natural-primary` options, and the new ``use_natural_foreign_keys`` and
|
||||
``use_natural_primary_keys`` arguments for ``serializers.serialize()``, allow
|
||||
the use of natural primary keys when serializing.
|
||||
|
||||
* It is no longer necessary to provide the cache table name or the
|
||||
:djadminopt:`--database` option for the :djadmin:`createcachetable` command.
|
||||
``--database`` option for the :djadmin:`createcachetable` command.
|
||||
Django takes this information from your settings file. If you have configured
|
||||
multiple caches or multiple databases, all cache tables are created.
|
||||
|
||||
@@ -1444,8 +1444,8 @@ Miscellaneous
|
||||
|
||||
* 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).
|
||||
databases, use the ``--database`` flag to get SQL for those models
|
||||
(previously they would always be included in the output).
|
||||
|
||||
* Decoding the query string from URLs now falls back to the ISO-8859-1 encoding
|
||||
when the input is not valid UTF-8.
|
||||
@@ -1624,7 +1624,7 @@ Natural key serialization options
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The ``--natural`` and ``-n`` options for :djadmin:`dumpdata` have been
|
||||
deprecated. Use :djadminopt:`--natural-foreign` instead.
|
||||
deprecated. Use :option:`dumpdata --natural-foreign` instead.
|
||||
|
||||
Similarly, the ``use_natural_keys`` argument for ``serializers.serialize()``
|
||||
has been deprecated. Use ``use_natural_foreign_keys`` instead.
|
||||
|
||||
Reference in New Issue
Block a user