summaryrefslogtreecommitdiff
path: root/docs/ref/django-admin.txt
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-02-01 11:54:26 -0500
committerTim Graham <timograham@gmail.com>2016-02-01 11:54:26 -0500
commita9fbf0735a213109ef4b02e02ff3e458b6a25929 (patch)
treec9ac521f09711d087e1c501b8427bb102d268fed /docs/ref/django-admin.txt
parentd7a6086825d4a308955e792f65fdd9b5f714a505 (diff)
[1.9.x] Fixed #26124 -- Added missing code formatting to docs headers.
Backport of a6ef025dfb2a1d1bd23893408eef6d066fb506d9 from master
Diffstat (limited to 'docs/ref/django-admin.txt')
-rw-r--r--docs/ref/django-admin.txt130
1 files changed, 65 insertions, 65 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 663fa0ec05..e9f3c1659d 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -1,6 +1,6 @@
-==========================
-django-admin and manage.py
-==========================
+==================================
+``django-admin`` and ``manage.py``
+==================================
``django-admin`` is Django's command-line utility for administrative tasks.
This document outlines all it can do.
@@ -96,8 +96,8 @@ information that ``django-admin`` prints to the console.
Available commands
==================
-check
------
+``check``
+---------
.. django-admin:: check [app_label [app_label ...]]
@@ -142,8 +142,8 @@ Or you could run it directly on a production or staging deployment to verify
that the correct settings are in use (omitting ``--settings``). You could even
make it part of your integration test suite.
-compilemessages
----------------
+``compilemessages``
+-------------------
.. django-admin:: compilemessages
@@ -183,8 +183,8 @@ Example usage::
django-admin compilemessages -x pt_BR
django-admin compilemessages -x pt_BR -x fr
-createcachetable
-----------------
+``createcachetable``
+--------------------
.. django-admin:: createcachetable
@@ -206,8 +206,8 @@ customize it or use the migrations framework.
The ``--dry-run`` option was added.
-dbshell
--------
+``dbshell``
+-----------
.. django-admin:: dbshell
@@ -229,8 +229,8 @@ program manually.
Specifies the database onto which to open a shell. Defaults to ``default``.
-diffsettings
-------------
+``diffsettings``
+----------------
.. django-admin:: diffsettings
@@ -247,8 +247,8 @@ example, the default settings don't define :setting:`ROOT_URLCONF`, so
Displays all settings, even if they have Django's default value. Such settings
are prefixed by ``"###"``.
-dumpdata
---------
+``dumpdata``
+------------
.. django-admin:: dumpdata [app_label[.ModelName] [app_label[.ModelName] ...]]
@@ -329,8 +329,8 @@ progress bar is shown in the terminal.
The progress bar in the terminal was added.
-flush
------
+``flush``
+---------
.. django-admin:: flush
@@ -352,8 +352,8 @@ Suppresses all user prompts.
Specifies the database to flush. Defaults to ``default``.
-inspectdb
----------
+``inspectdb``
+-------------
.. django-admin:: inspectdb
@@ -411,8 +411,8 @@ it because ``True`` is its default value).
Specifies the database to introspect. Defaults to ``default``.
-loaddata
---------
+``loaddata``
+------------
.. django-admin:: loaddata fixture [fixture ...]
@@ -564,8 +564,8 @@ defined, name the fixture ``mydata.master.json`` or
``mydata.master.json.gz`` and the fixture will only be loaded when you
specify you want to load data into the ``master`` database.
-makemessages
-------------
+``makemessages``
+----------------
.. django-admin:: makemessages
@@ -667,8 +667,8 @@ language files from being created.
See :ref:`customizing-makemessages` for instructions on how to customize
the keywords that :djadmin:`makemessages` passes to ``xgettext``.
-makemigrations
---------------
+``makemigrations``
+------------------
.. django-admin:: makemigrations [app_label [app_label ...]]
@@ -719,8 +719,8 @@ Allows naming the generated migration(s) instead of using a generated name.
Makes ``makemigrations`` exit with error code 1 when no migrations are created
(or would have been created, if combined with ``--dry-run``).
-migrate
--------
+``migrate``
+-----------
.. django-admin:: migrate [app_label] [migration_name]
@@ -783,8 +783,8 @@ with hundreds of models.
The ``--list`` option has been moved to the :djadmin:`showmigrations`
command.
-runserver
----------
+``runserver``
+-------------
.. django-admin:: runserver [addrport]
@@ -906,8 +906,8 @@ By default, the development server doesn't serve any static files for your site
you want to configure Django to serve static media, read
:doc:`/howto/static-files/index`.
-sendtestemail
--------------
+``sendtestemail``
+-----------------
.. django-admin:: sendtestemail [email [email ...]]
@@ -931,8 +931,8 @@ Mails the email addresses specified in :setting:`MANAGERS` using
Mails the email addresses specified in :setting:`ADMINS` using
:meth:`~django.core.mail.mail_admins()`.
-shell
------
+``shell``
+---------
.. django-admin:: shell
@@ -967,8 +967,8 @@ Disables reading the startup script for the "plain" Python interpreter. By
default, the script pointed to by the :envvar:`PYTHONSTARTUP` environment
variable or the ``~/.pythonrc.py`` script is read.
-showmigrations
---------------
+``showmigrations``
+------------------
.. django-admin:: showmigrations [app_label [app_label ...]]
@@ -998,8 +998,8 @@ of 2 and above, all dependencies of a migration will also be shown.
Specifies the database to examine. Defaults to ``default``.
-sqlflush
---------
+``sqlflush``
+------------
.. django-admin:: sqlflush
@@ -1010,8 +1010,8 @@ command.
Specifies the database for which to print the SQL. Defaults to ``default``.
-sqlmigrate
-----------
+``sqlmigrate``
+--------------
.. django-admin:: sqlmigrate app_label migration_name
@@ -1036,8 +1036,8 @@ Specifies the database for which to generate the SQL. Defaults to ``default``.
generated for each migration operation is preceded by the operation's
description.
-sqlsequencereset
-----------------
+``sqlsequencereset``
+--------------------
.. django-admin:: sqlsequencereset app_label [app_label ...]
@@ -1053,8 +1053,8 @@ of sync with its automatically incremented field data.
Specifies the database for which to print the SQL. Defaults to ``default``.
-squashmigrations
-----------------
+``squashmigrations``
+--------------------
.. django-admin:: squashmigrations app_label [start_migration_name] migration_name
@@ -1086,8 +1086,8 @@ Suppresses all user prompts.
The ``--no-input`` alias was added.
-startapp
---------
+``startapp``
+------------
.. django-admin:: startapp name [directory]
@@ -1178,8 +1178,8 @@ files is:
.. _source: https://github.com/django/django/tree/master/django/conf/app_template/
-startproject
-------------
+``startproject``
+----------------
.. django-admin:: startproject name [directory]
@@ -1232,8 +1232,8 @@ for :djadmin:`startapp`.
.. _`template source`: https://github.com/django/django/tree/master/django/conf/project_template/
-test
-----
+``test``
+--------
.. django-admin:: test [test_label [test_label ...]]
@@ -1346,8 +1346,8 @@ don't.
in order to exchange them between processes. See
:ref:`python:pickle-picklable` for details.
-testserver
-----------
+``testserver``
+--------------
.. django-admin:: testserver [fixture [fixture ...]]
@@ -1425,8 +1425,8 @@ their application.
``django.contrib.auth``
-----------------------
-changepassword
-~~~~~~~~~~~~~~
+``changepassword``
+~~~~~~~~~~~~~~~~~~
.. django-admin:: changepassword [<username>]
@@ -1446,8 +1446,8 @@ Example usage::
django-admin changepassword ringo
-createsuperuser
-~~~~~~~~~~~~~~~
+``createsuperuser``
+~~~~~~~~~~~~~~~~~~~
.. django-admin:: createsuperuser
@@ -1488,8 +1488,8 @@ instance.
``django.contrib.gis``
----------------------
-ogrinspect
-~~~~~~~~~~
+``ogrinspect``
+~~~~~~~~~~~~~~
This command is only available if :doc:`GeoDjango </ref/contrib/gis/index>`
(``django.contrib.gis``) is installed.
@@ -1500,8 +1500,8 @@ documentation.
``django.contrib.sessions``
---------------------------
-clearsessions
-~~~~~~~~~~~~~~~
+``clearsessions``
+~~~~~~~~~~~~~~~~~
.. django-admin:: clearsessions
@@ -1510,8 +1510,8 @@ Can be run as a cron job or directly to clean out expired sessions.
``django.contrib.sitemaps``
---------------------------
-ping_google
-~~~~~~~~~~~
+``ping_google``
+~~~~~~~~~~~~~~~
This command is only available if the :doc:`Sitemaps framework
</ref/contrib/sitemaps>` (``django.contrib.sitemaps``) is installed.
@@ -1522,8 +1522,8 @@ documentation.
``django.contrib.staticfiles``
------------------------------
-collectstatic
-~~~~~~~~~~~~~
+``collectstatic``
+~~~~~~~~~~~~~~~~~
This command is only available if the :doc:`static files application
</howto/static-files/index>` (``django.contrib.staticfiles``) is installed.
@@ -1531,8 +1531,8 @@ This command is only available if the :doc:`static files application
Please refer to its :djadmin:`description <collectstatic>` in the
:doc:`staticfiles </ref/contrib/staticfiles>` documentation.
-findstatic
-~~~~~~~~~~
+``findstatic``
+~~~~~~~~~~~~~~
This command is only available if the :doc:`static files application
</howto/static-files/index>` (``django.contrib.staticfiles``) is installed.