diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2008-06-19 13:24:39 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2008-06-19 13:24:39 +0000 |
| commit | 090aeee39979c279564c4673a1af2a6b15ce001e (patch) | |
| tree | 876718c7b7385134dfd489f9f61a28600bdef8db /docs | |
| parent | a7f6faaa818d91aa9baaf1db99974cb1209c8ee6 (diff) | |
Fixed #6719 -- Added a --traceback option to syncdb to provide a stack trace when custom SQL loading fails. Also added documentation for the --traceback option. Thanks to guettli for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/django-admin.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/django-admin.txt b/docs/django-admin.txt index 8797d2e988..309166fe94 100644 --- a/docs/django-admin.txt +++ b/docs/django-admin.txt @@ -756,6 +756,17 @@ variable. Note that this option is unnecessary in ``manage.py``, because it uses ``settings.py`` from the current project by default. +--traceback +----------- + +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. + Extra niceties ============== |
