Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Clarified (hopefully) how to use the default settings override in con…

…figure().

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 390231d4068a550ef8188807c6e7e7b2f0fb1521 1 parent eb707d8
Malcolm Tredinnick authored May 17, 2006

Showing 1 changed file with 7 additions and 0 deletions. Show diff stats Hide diff stats

  1. 7  docs/settings.txt
7  docs/settings.txt
@@ -771,6 +771,13 @@ is equivalent::
771 771
 
772 772
     settings.configure(myapp_defaults, DEBUG = True)
773 773
 
  774
+Normally, you will not need to override the defaults in this fashion. The
  775
+Django defaults are sufficiently tame that you can safely use them. Be aware
  776
+that if you do pass in a new default module, it entirely *replaces* the Django
  777
+defaults, so you must specify a value for every possible setting that might be
  778
+used in that code you are importing. Check in
  779
+``django.conf.settings.global_settings`` for the full list.
  780
+
774 781
 Either configure() or DJANGO_SETTINGS_MODULE is required
775 782
 --------------------------------------------------------
776 783
 

0 notes on commit 390231d

Please sign in to comment.
Something went wrong with that request. Please try again.