Opened 5 years ago

Closed 5 years ago

#15724 closed (fixed)

django.utils.functional is missing update_wrapper import

Reported by: ijstokes Owned by: nobody
Component: Core (Other) Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:


Changeset 15927 for django/trunk/django/utils/ contains:

from functools import wraps

but I think it should contain:

from functools import wraps, update_wrapper

At least "grappelli" requires "update_wrapper", so in my local copy I've added it in.

Change History (1)

comment:1 Changed 5 years ago by jezdez

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

In [15965]:

Fixed #15724 -- Added update_wrapper import to utils.functional to be a bit more forgiving for 3rd party apps using that import.

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