Opened 18 years ago
Closed 18 years ago
#3880 closed (fixed)
django.db.connection does not implement DB-API
Reported by: | Owned by: | Jacob | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Design decision needed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In the Model Reference section Executing custom SQL it says, "connection and cursor simply use the standard Python DB-API." This is not correct as django.db.connection does not have commit() or rollback() methods which are required by DB-API. Either the doc should be updated or the methods should be added to the connection.
It would be helpful if this section of the docs showed the correct way to commit (using transaction decorators?)
Change History (3)
comment:1 by , 18 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 18 years ago
Triage Stage: | Accepted → Design decision needed |
---|
comment:3 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Yes, we need to do one or the other.