Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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 m4r0v3r)

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 Markus Holtermann, 9 years ago

Description: modified (diff)
Easy pickings: set
Triage Stage: UnreviewedAccepted

comment:2 by m4r0v3r, 9 years ago

Description: modified (diff)

comment:3 by Tim Graham, 9 years ago

Summary: Database Test SettingsAdd example for database test settings

comment:4 by José Carlos Menezes, 9 years ago

Owner: changed from nobody to José Carlos Menezes
Status: newassigned

comment:5 by Tim Graham, 9 years ago

Has patch: set
Triage Stage: AcceptedReady for checkin

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.

comment:6 by Tim Graham <timograham@…>, 9 years ago

Resolution: fixed
Status: assignedclosed

In cf99bae:

Fixed #25351 -- Added example for database test settings to docs.

comment:7 by Tim Graham <timograham@…>, 9 years ago

In d32edd8:

[1.8.x] Fixed #25351 -- Added example for database test settings to docs.

Backport of cf99bae53af2ed8f73622bc8a8ed0331c272fda3 from master

Note: See TracTickets for help on using tickets.
Back to Top