Index: django/conf/global_settings.py =================================================================== --- django/conf/global_settings.py (revision 11587) +++ django/conf/global_settings.py (working copy) @@ -290,6 +290,9 @@ DEFAULT_TABLESPACE = '' DEFAULT_INDEX_TABLESPACE = '' +# Whether to activate a dpaste.com form in the debug view. +ENABLE_DPASTE = True + ############## # MIDDLEWARE # ############## Index: django/views/debug.py =================================================================== --- django/views/debug.py (revision 11587) +++ django/views/debug.py (working copy) @@ -517,7 +517,8 @@ {% endautoescape %} -
Index: docs/ref/settings.txt =================================================================== --- docs/ref/settings.txt (revision 11587) +++ docs/ref/settings.txt (working copy) @@ -447,6 +447,18 @@ Whether to use a TLS (secure) connection when talking to the SMTP server. +.. setting:: ENABLE_DPASTE + +ENABLE_DPASTE +------------- + +.. versionadded:: 1.2 + +Default: ``True`` + +Whether to render a form in the debug view that can submit the traceback to +dpaste.com. + .. setting:: FILE_CHARSET FILE_CHARSET