Opened 17 years ago

Closed 17 years ago

#4318 closed (fixed)

unused imports in newforms modules

Reported by: Gary Wilson <gary.wilson@…> Owned by: Adrian Holovaty
Component: Forms Version: dev
Severity: Keywords:
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

The import sections also don't adhere to our coding style.

Attachments (1)

4318.diff (4.4 KB ) - added by Gary Wilson <gary.wilson@…> 17 years ago.
cleaned up imports

Download all attachments as: .zip

Change History (4)

by Gary Wilson <gary.wilson@…>, 17 years ago

Attachment: 4318.diff added

cleaned up imports

comment:1 by Gary Wilson <gary.wilson@…>, 17 years ago

fixes:

  • Reordered imports with standard library imports first and sections separated by a line break. I added a line break between django imports and the relative imports for visual distinction.
  • Fixed long lines.
  • Moved __all__ to come after imports.
  • Removed unused imports.

comment:2 by Gary Wilson <gary.wilson@…>, 17 years ago

Has patch: set
Triage Stage: UnreviewedReady for checkin

comment:3 by Adrian Holovaty, 17 years ago

Resolution: fixed
Status: newclosed

(In [5263]) Fixed #4318 -- Fixed unused imports and other various style tweaks in newforms. Thanks, Gary Wilson

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