Django

Code

Changeset 2932

Show
Ignore:
Timestamp:
05/17/06 01:57:22 (3 years ago)
Author:
mtredinnick
Message:

Clarified (hopefully) how to use the default settings override in configure().

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/settings.txt

    r2927 r2932  
    772772    settings.configure(myapp_defaults, DEBUG = True) 
    773773 
     774Normally, you will not need to override the defaults in this fashion. The 
     775Django defaults are sufficiently tame that you can safely use them. Be aware 
     776that if you do pass in a new default module, it entirely *replaces* the Django 
     777defaults, so you must specify a value for every possible setting that might be 
     778used in that code you are importing. Check in 
     779``django.conf.settings.global_settings`` for the full list. 
     780 
    774781Either configure() or DJANGO_SETTINGS_MODULE is required 
    775782--------------------------------------------------------