From 555f8e9d5c640373d2bd30ec1212b341c859f828 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 12 Jan 2016 12:28:55 -0500 Subject: Made CommandError use the exception directive in docs. --- docs/ref/django-admin.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/ref') 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. -- cgit v1.3