Opened 13 years ago

Closed 13 years ago

#16729 closed Bug (fixed)

inconsistency between doc and code for oracle DB backend

Reported by: simon.cruanes.2007@… Owned by: nobody
Component: Database layer (models, ORM) Version: 1.3
Severity: Normal Keywords: oracle doc option
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

According to the doc for the oracle DB backend, at
https://docs.djangoproject.com/en/dev/ref/settings/?from=olddocs#test-create-user
the option to prevent a user from being created during tests is
TEST_CREATE_USER.

However, this option has no effect since the code at
https://code.djangoproject.com/browser/django/trunk/django/db/backends/oracle/creation.py#L219
uses 'TEST_USER_CREATE' instead of 'TEST_CREATE_USER'.

This is an inconsistency between code and doc, imho it should be enough to update the doc.

Attachments (1)

16729.patch (499 bytes ) - added by Aymeric Augustin 13 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by simon.cruanes.2007@…, 13 years ago

Summary: inconsitency between doc and code for oracle DB backendinconsistency between doc and code for oracle DB backend

comment:2 by Aymeric Augustin, 13 years ago

Has patch: set
Triage Stage: UnreviewedAccepted

by Aymeric Augustin, 13 years ago

Attachment: 16729.patch added

comment:3 by Aymeric Augustin, 13 years ago

This was a typo in my patch for #16478 that was committed last week in r16646.

comment:4 by Julien Phalip, 13 years ago

Triage Stage: AcceptedReady for checkin

comment:5 by Julien Phalip, 13 years ago

Resolution: fixed
Status: newclosed

In [16716]:

(The changeset message doesn't reference this ticket)

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