BryanWheelock
BryanWheelock

Reputation: 12254

How do I change the Django default test database?

The production database is named:

project_db

The default test db is:

test_project_db

My production server provider requires the database name start with the account name. So I could go with:

projects_db_test

or some variant.

Upvotes: 1

Views: 347

Answers (1)

Reto Aebersold
Reto Aebersold

Reputation: 16644

Use the TEST_NAME setting.

Upvotes: 4

Related Questions