From a5e0c5b182c1f3df113d2ceccb323b3f267ef536 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 7 Sep 2008 23:08:01 +0000 Subject: [PATCH] Fixed #8580 -- Hyperlinked some module names in settings.txt. Thanks, msaelices git-svn-id: http://code.djangoproject.com/svn/django/trunk@8983 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/settings.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index ec62575e71..3dd83eba5b 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -269,7 +269,7 @@ Default: ``False`` A boolean that turns on/off debug mode. -If you define custom settings, django/views/debug.py has a ``HIDDEN_SETTINGS`` +If you define custom settings, `django/views/debug.py`_ has a ``HIDDEN_SETTINGS`` regular expression which will hide from the DEBUG view anything that contains ``'SECRET'``, ``'PASSWORD'``, or ``'PROFANITIES'``. This allows untrusted users to be able to give backtraces without seeing sensitive (or offensive) settings. @@ -284,6 +284,8 @@ but on a production server, it will rapidly consume memory. Never deploy a site into production with ``DEBUG`` turned on. +.. _django/views/debug.py: http://code.djangoproject.com/browser/django/trunk/django/views/debug.py + DEBUG_PROPAGATE_EXCEPTIONS -------------------------- @@ -800,9 +802,10 @@ A tuple of profanities, as strings, that will trigger a validation error when the ``hasNoProfanities`` validator is called. We don't list the default values here, because that would be profane. To see -the default values, see the file ``django/conf/global_settings.py``. +the default values, see the file `django/conf/global_settings.py`_. .. setting:: ROOT_URLCONF +.. _django/conf/global_settings.py: http://code.djangoproject.com/browser/django/trunk/django/conf/global_settings.py ROOT_URLCONF ------------