Ticket #16758: 0001-Added-warning-in-settings.txt.patch

File 0001-Added-warning-in-settings.txt.patch, 1.2 KB (added by Yaşar Arabacı, 13 years ago)

Re-written warnings according to remarks.

  • docs/ref/settings.txt

    From a1b89e589865197cec001d98326601173291c95d Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Ya=C5=9Far=20Arabac=C4=B1?= <yasar11732@gmail.com>
    Date: Fri, 30 Sep 2011 02:11:59 +0300
    Subject: [PATCH] Added warning in settings.txt
    
    ---
     docs/ref/settings.txt |   10 ++++++++++
     1 files changed, 10 insertions(+), 0 deletions(-)
    
    diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
    index 8c7fe8f..ef112c6 100644
    a b Available settings  
    1212Here's a full list of all available settings, in alphabetical order, and their
    1313default values.
    1414
     15.. warning::
     16    Be careful with the settings in settings.py, because settings in settings.py
     17    override the default values. Overriding some settings may cause some core
     18    or commonly used functions of Django to stop functioning. When overriding
     19    default values, you are advised to make sure that none of the functions of
     20    Django that you need requires previous setting to work correctly. If the
     21    setting you are trying to change consists of more than one value (e.g a tuple),
     22    you can append or remove some items, rather than completely overriding
     23    that setting.
     24
    1525.. setting:: ABSOLUTE_URL_OVERRIDES
    1626
    1727ABSOLUTE_URL_OVERRIDES
Back to Top