Django

Code

Changeset 5160

Show
Ignore:
Timestamp:
05/07/07 21:33:10 (1 year ago)
Author:
mtredinnick
Message:

Fixed #4226 -- Added DATABASE_NAME to the list of settings required to be
mentioned in the settings file for the tests to run. Thanks, Paul Smith.

Files:

Legend:

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

    r4745 r5160  
    397397 
    398398Yes, the unit tests need a settings module, but only for database connection 
    399 info -- the ``DATABASE_ENGINE``, ``DATABASE_USER`` and ``DATABASE_PASSWORD``. 
    400 You will also need a ``ROOT_URLCONF`` setting (its value is ignored; it just 
    401 needs to be present) and a ``SITE_ID`` setting (any integer value will do) in 
    402 order for all the tests to pass. 
     399info -- the ``DATABASE_NAME`` (required, but will be ignored), 
     400``DATABASE_ENGINE``, ``DATABASE_USER`` and ``DATABASE_PASSWORD`` settings. You 
     401will also need a ``ROOT_URLCONF`` setting (its value is ignored; it just needs 
     402to be present) and a ``SITE_ID`` setting (any integer value will do) in order 
     403for all the tests to pass. 
    403404 
    404405The unit tests will not touch your existing databases; they create a new