1
0
mirror of https://github.com/django/django.git synced 2025-07-05 18:29:11 +00:00

[soc2009/multidb] Updated the contributing documentation for the settings changes

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@10936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor 2009-06-07 03:06:13 +00:00
parent 4d6c6d0596
commit fdd5ff646e
2 changed files with 4 additions and 5 deletions

View File

@ -8,7 +8,6 @@ that need to be done. I'm trying to be as granular as possible.
2) Update all old references to ``settings.DATABASE_*`` to reference 2) Update all old references to ``settings.DATABASE_*`` to reference
``settings.DATABASES``. This includes the following locations ``settings.DATABASES``. This includes the following locations
* internals/contributing -- still needs an update on TEST_*
* ref/settings -- needs to be upddated for TEST_* * ref/settings -- needs to be upddated for TEST_*
* topics/testing -- needs update for the TEST_* settings, plus test refactor * topics/testing -- needs update for the TEST_* settings, plus test refactor

View File

@ -759,8 +759,8 @@ needed. A temporary database will be created in memory when running the tests.
If you're using another backend: If you're using another backend:
* Your the ``DATABASE_USER`` option for the ``'default'`` datbase setting * Your the ``DATABASE_USER`` option for each of your databases needs to
needs to specify an existing user account for the database engine. specify an existing user account for the database.
* The ``DATABASE_NAME`` option must be the name of an existing database to * The ``DATABASE_NAME`` option must be the name of an existing database to
which the given user has permission to connect. The unit tests will not which the given user has permission to connect. The unit tests will not
@ -771,8 +771,8 @@ If you're using another backend:
You will also need to ensure that your database uses UTF-8 as the default You will also need to ensure that your database uses UTF-8 as the default
character set. If your database server doesn't use UTF-8 as a default charset, character set. If your database server doesn't use UTF-8 as a default charset,
you will need to include a value for ``TEST_DATABASE_CHARSET`` in your settings you will need to include a value for ``TEST_DATABASE_CHARSET`` in the settings
file. dictionary for the applicable database.
If you want to run the full suite of tests, you'll need to install a number of If you want to run the full suite of tests, you'll need to install a number of
dependencies: dependencies: