Opened 13 years ago
Closed 13 years ago
#16729 closed Bug (fixed)
inconsistency between doc and code for oracle DB backend
Reported by: | 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)
Change History (6)
comment:1 by , 13 years ago
Summary: | inconsitency between doc and code for oracle DB backend → inconsistency between doc and code for oracle DB backend |
---|
comment:2 by , 13 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
by , 13 years ago
Attachment: | 16729.patch added |
---|
comment:3 by , 13 years ago
comment:4 by , 13 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:5 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
In [16716]:
(The changeset message doesn't reference this ticket)
This was a typo in my patch for #16478 that was committed last week in r16646.