Opened 10 years ago
Last modified 10 years ago
#25351 closed Cleanup/optimization
Database Test Settings — at Initial Version
| Reported by: | m4r0v3r | Owned by: | nobody |
|---|---|---|---|
| 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
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 :)
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'USER': 'jenkins',
'NAME': 'django',
'TEST': {
'NAME': 'test_django_%s_%s' % (PY_VERSION, BUILD_NAME),
},
},
Thanks to MarkusH for the example and help :)
Note:
See TracTickets
for help on using tickets.