Opened 15 years ago
Closed 15 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.
Note:
See TracTickets
for help on using tickets.
In [15965]: