Browse files

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


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
malcolmt committed May 17, 2006
1 parent eb707d8 commit 390231d4068a550ef8188807c6e7e7b2f0fb1521
Showing with 7 additions and 0 deletions.
  1. +7 −0 docs/settings.txt
@@ -771,6 +771,13 @@ is equivalent::
settings.configure(myapp_defaults, DEBUG = True)
+Normally, you will not need to override the defaults in this fashion. The
+Django defaults are sufficiently tame that you can safely use them. Be aware
+that if you do pass in a new default module, it entirely *replaces* the Django
+defaults, so you must specify a value for every possible setting that might be
+used in that code you are importing. Check in
+``django.conf.settings.global_settings`` for the full list.
Either configure() or DJANGO_SETTINGS_MODULE is required

0 comments on commit 390231d

Please sign in to comment.