diff options
| author | Claude Paroz <claude@2xlibre.net> | 2013-03-09 12:38:45 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2013-03-09 12:38:45 +0100 |
| commit | 6a91b638423de954b7d96c38e2372100800139fb (patch) | |
| tree | 379a5241795106bd3bc1dc0711e799396b2d71de /docs/ref/django-admin.txt | |
| parent | 5e80571bf92d93c177bea9e5ee7d89153ecadbad (diff) | |
Fixed #19923 -- Display tracebacks for non-CommandError exceptions
By default, show tracebacks for management command errors when the
exception is not a CommandError.
Thanks Jacob Radford for the report.
Diffstat (limited to 'docs/ref/django-admin.txt')
| -rw-r--r-- | docs/ref/django-admin.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index c2034a8c40..d31e30a14d 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -1342,8 +1342,13 @@ Example usage:: django-admin.py syncdb --traceback By default, ``django-admin.py`` will show a simple error message whenever an -error occurs. If you specify ``--traceback``, ``django-admin.py`` will -output a full stack trace whenever an exception is raised. +:class:`~django.core.management.CommandError` occurs, but a full stack trace +for any other exception. If you specify ``--traceback``, ``django-admin.py`` +will also output a full stack trace when a ``CommandError`` is raised. + +.. versionchanged:: 1.6 + Previously, Django didn't show a full stack trace by default for exceptions + other than ``CommandError``. .. django-admin-option:: --verbosity |
