Opened 17 years ago
Closed 17 years ago
#7286 closed (fixed)
Use functools wraps on the django.db.transaction decorators
| Reported by: | Chris Beaven | Owned by: | nobody | 
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | dev | 
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
These decorators don't use the wraps method like they should.
Attachments (1)
Change History (3)
by , 17 years ago
| Attachment: | transaction-decorators-wraps.diff added | 
|---|
comment:1 by , 17 years ago
| Triage Stage: | Unreviewed → Ready for checkin | 
|---|
comment:2 by , 17 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
(In [7558]) Fixed #7286 -- Added functools wrapping to the transaction decorators. Thanks, SmileyChris.