Opened 6 years ago

Closed 6 years ago

#7286 closed (fixed)

Use functools wraps on the django.db.transaction decorators

Reported by: SmileyChris Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


These decorators don't use the wraps method like they should.

Attachments (1)

transaction-decorators-wraps.diff (1.1 KB) - added by SmileyChris 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by SmileyChris

comment:1 Changed 6 years ago by SmileyChris

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 6 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(In [7558]) Fixed #7286 -- Added functools wrapping to the transaction decorators. Thanks, SmileyChris.

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.