Opened 7 years ago

Closed 7 years ago

#7702 closed (fixed)

more imports ContentType than we need

Reported by: Honza_Kral 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:

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_Kral 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Honza_Kral

comment:1 Changed 7 years ago by vitek_pliska

  • Keywords ep2008 added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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

comment:2 Changed 7 years ago by Simon Greenhill

  • Triage Stage changed from Unreviewed to Ready for checkin

comment:3 Changed 7 years ago by adrian

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

(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