Ticket #16758: 0001-Fix-ticket-16758.patch

File 0001-Fix-ticket-16758.patch, 1.3 KB (added by Yaşar Arabacı, 8 years ago)

Added neccessary warning.

  • docs/ref/settings.txt

    From 4acc906ad84c851319b1310197c363ac8f0cea96 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Ya=C5=9Far=20Arabac=C4=B1?= <yasar11732@gmail.com>
    Date: Thu, 29 Sep 2011 02:04:23 +0300
    Subject: [PATCH] Fix ticket #16758
    
    I added warning in upper parts of docs/ref/settings about overriding
    default settings.
    ---
     docs/ref/settings.txt |    9 +++++++++
     1 files changed, 9 insertions(+), 0 deletions(-)
    
    diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
    index 8c7fe8f..0d3a999 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    When a new django project is created, settings.py file is populated with
     17    settings that are deemed crucial for commonly used or core parts of a
     18    django project. Beginners are advised to override these settings with caution.
     19    If the setting consist of more than one value (for example, INSTALLED_APPS),
     20    it is better to add a single value to the setting, or remove a single value from
     21    setting rather than completely overriding its default value. When removing items
     22    from a setting, make sure you don't need those items.
     23
    1524.. setting:: ABSOLUTE_URL_OVERRIDES
    1625
    1726ABSOLUTE_URL_OVERRIDES
Back to Top