Opened 19 years ago
Closed 19 years ago
#3936 closed (fixed)
Setting database for testing
| Reported by: | anonymous | Owned by: | Jacob |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| Severity: | Keywords: | testing database | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
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
Attachments (1)
Change History (5)
by , 19 years ago
| Attachment: | test_db_creation.patch added |
|---|
comment:1 by , 19 years ago
| Has patch: | set |
|---|---|
| Summary: | Setting database for testing → [patch] Setting database for testing |
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 19 years ago
| Summary: | [patch] Setting database for testing → Setting database for testing |
|---|
Removing [patch] from title. We have the checkbox for that.
comment:3 by , 19 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
comment:4 by , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Patch for test database creation clarification