summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-01-12 12:28:55 -0500
committerTim Graham <timograham@gmail.com>2016-01-12 12:32:03 -0500
commita63b7c479ebab1820f3e3bff2b16bc5a7c5aa493 (patch)
tree391a3daf07ec5fef0be61cf12f1912a71ad12cc1 /docs/ref
parent4da682cb4598fdc36d6a069109476ce822d45b72 (diff)
[1.9.x] Made CommandError use the exception directive in docs.
Backport of 555f8e9d5c640373d2bd30ec1212b341c859f828 from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/django-admin.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 159d169d11..7ffb656e40 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -1542,7 +1542,7 @@ Example usage::
django-admin migrate --traceback
By default, ``django-admin`` will show a simple error message whenever a
-:class:`~django.core.management.CommandError` occurs, but a full stack trace
+:exc:`~django.core.management.CommandError` occurs, but a full stack trace
for any other exception. If you specify ``--traceback``, ``django-admin``
will also output a full stack trace when a ``CommandError`` is raised.