Opened 10 years ago

Closed 10 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: UI/UX:


django/contrib/admin/ 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 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Honza Král

Attachment: 7702-against-7875.patch added

comment:1 Changed 10 years ago by Vitek Pliska

Keywords: ep2008 added

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

comment:2 Changed 10 years ago by Simon Greenhill

Triage Stage: UnreviewedReady for checkin

comment:3 Changed 10 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

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

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