summaryrefslogtreecommitdiff
path: root/docs/howto
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-01-11 20:59:34 -0500
committerTim Graham <timograham@gmail.com>2016-01-14 18:21:33 -0500
commite519aab43a419589e92fe284e4ce2f2e034aec6a (patch)
treee1af3c01ca87ff9b639ac45ec97ac9869d273c43 /docs/howto
parentfd1c5bb041abb617dc58c336a8461fb3a7af4508 (diff)
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.
Diffstat (limited to 'docs/howto')
-rw-r--r--docs/howto/custom-management-commands.txt9
-rw-r--r--docs/howto/deployment/checklist.txt7
2 files changed, 7 insertions, 9 deletions
diff --git a/docs/howto/custom-management-commands.txt b/docs/howto/custom-management-commands.txt
index 9e338a4bdf..704af90d2d 100644
--- a/docs/howto/custom-management-commands.txt
+++ b/docs/howto/custom-management-commands.txt
@@ -123,8 +123,8 @@ parameter of the handle method. See the :py:mod:`argparse` Python documentation
for more about ``add_argument`` usage.
In addition to being able to add custom command line options, all
-:doc:`management commands</ref/django-admin>` can accept some
-default options such as :djadminopt:`--verbosity` and :djadminopt:`--traceback`.
+:doc:`management commands</ref/django-admin>` can accept some default options
+such as :option:`--verbosity` and :option:`--traceback`.
.. _management-commands-and-locales:
@@ -267,9 +267,8 @@ All attributes can be set in your derived class and can be used in
see the available styles (use uppercased versions of the "roles" described
in that section).
- If you pass the :djadminopt:`--no-color` option when running your
- command, all ``self.style()`` calls will return the original string
- uncolored.
+ If you pass the :option:`--no-color` option when running your command, all
+ ``self.style()`` calls will return the original string uncolored.
Methods
-------
diff --git a/docs/howto/deployment/checklist.txt b/docs/howto/deployment/checklist.txt
index 1331670a13..59717193dd 100644
--- a/docs/howto/deployment/checklist.txt
+++ b/docs/howto/deployment/checklist.txt
@@ -32,10 +32,9 @@ module for production.
Run ``manage.py check --deploy``
================================
-Some of the checks described below can be automated using the
-:djadminopt:`--deploy` option of the :djadmin:`check` command. Be sure to run it
-against your production settings file as described in the option's
-documentation.
+Some of the checks described below can be automated using the :option:`check
+--deploy` option. Be sure to run it against your production settings file as
+described in the option's documentation.
Critical settings
=================