#25351 closed Cleanup/optimization (fixed)
Add example for database test settings
| Reported by: | m4r0v3r | Owned by: | José Carlos Menezes |
|---|---|---|---|
| Component: | Documentation | Version: | 1.8 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description (last modified by )
Hello,
The documentation for the Database Test Settings is lacking and can leave users such as me confused, if a simple example such as this was included it would help :)
here:
https://docs.djangoproject.com/en/1.8/ref/settings/#std:setting-DATABASE-TEST
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'USER': 'jenkins', 'NAME': 'django', 'TEST': { 'NAME': 'test_another_name', }, }, }
Thanks to MarkusH for the example and help :)
Change History (7)
comment:1 by , 10 years ago
| Description: | modified (diff) |
|---|---|
| Easy pickings: | set |
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 10 years ago
| Description: | modified (diff) |
|---|
comment:3 by , 10 years ago
| Summary: | Database Test Settings → Add example for database test settings |
|---|
comment:4 by , 10 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:5 by , 10 years ago
| Has patch: | set |
|---|---|
| Triage Stage: | Accepted → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
For future reference, don't forget to add a link to the pull request and check "Has patch" so it appears in the review queue.