Opened 14 years ago

Closed 14 years ago

#15724 closed (fixed)

django.utils.functional is missing update_wrapper import

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

Description

Changeset 15927 for django/trunk/django/utils/functional.py 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 by Jannis Leidel, 14 years ago

Resolution: fixed
Status: newclosed

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