1
0
mirror of https://github.com/django/django.git synced 2025-07-05 02:09:13 +00:00

[multi-db] Added MODELS settings to TEST_DATABASES.

git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jason Pellerin 2006-07-19 02:41:56 +00:00
parent ed4e198d11
commit a5caa0ab27

View File

@ -13,6 +13,13 @@ REGRESSION_TESTS_DIR_NAME = 'regressiontests'
TEST_DATABASE_NAME = 'django_test_db'
TEST_DATABASES = (TEST_DATABASE_NAME + '_a', TEST_DATABASE_NAME + '_b')
TEST_DATABASE_MODELS = {
TEST_DATABASE_NAME + '_a': [ 'multiple_databases.Artist',
'multiple_databases.Opus' ],
TEST_DATABASE_NAME + '_b': [ 'multiple_databases.Widget',
'multiple_databases.Doohickey' ]
}
error_list = []
def log_error(model_name, title, description):
error_list.append({