Setting database for testing
|Reported by:||anonymous||Owned by:||Jacob|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Documentation on http://www.djangoproject.com/documentation/testing/ should mention, that the test database will be created by user DATABASE_USER (so, the user must be created like CREATE user someuser WITH ENCRYPTED PASSWORD 'password' CREATEDB).
There is also need to have appropriate line in /usr/local/pgsql/data/pg_hba.conf (like local database_name username trust).
This note is relevant only for PostgreSQL database, I have no similar experience with MySQL or SQLite
Change History (5)
comment:1 Changed 10 years ago by
|Summary:||Setting database for testing → [patch] Setting database for testing|
|Triage Stage:||Unreviewed → Accepted|
comment:2 Changed 10 years ago by
|Summary:||[patch] Setting database for testing → Setting database for testing|