Opened 16 years ago

Closed 16 years ago

#7702 closed (fixed)

more imports ContentType than we need

Reported by: Honza Král Owned by: nobody
Component: contrib.admin Version: newforms-admin
Severity: Keywords: ep2008
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

django/contrib/admin/options.py has way too much import statements, I remove some imports from within functions that are already imported at the top of the file.

Attachments (1)

7702-against-7875.patch (2.3 KB ) - added by Honza Král 16 years ago.

Download all attachments as: .zip

Change History (4)

by Honza Král, 16 years ago

Attachment: 7702-against-7875.patch added

comment:1 by Vitek Pliska, 16 years ago

Keywords: ep2008 added

I checked and applied this patch on 7875 nfa, all tests passed.

comment:2 by Simon Greenhill, 16 years ago

Triage Stage: UnreviewedReady for checkin

comment:3 by Adrian Holovaty, 16 years ago

Resolution: fixed
Status: newclosed

(In [7919]) newforms-admin: Fixed #7702 -- Removed redundant imports in django/contrib/admin/options.py. Thanks, Honza

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