Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
@malcolmt malcolmt authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 docs/settings.txt
View
7 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
--------------------------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.