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:28:55 -0500
commit555f8e9d5c640373d2bd30ec1212b341c859f828 (patch)
treef2bdf0255179b7672c09f8d646b627baf8d07cb6 /docs/ref
parentc68ce18712f5896fa9ab95afd69d590212f3c398 (diff)
Made CommandError use the exception directive in docs.
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 ca21851fe5..46615666b8 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -1551,7 +1551,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.