Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#7988 closed (fixed)

django/views/ imports warning instead of warnings

Reported by: richardh Owned by: nobody
Component: Generic views Version: master
Severity: Keywords: follow
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:


deprecate_follow(follow) (line 10) in django/views/ appears to be trying to use a warning module.
I think this should be the warnings module.
Patch for the two lines affected attached.
Spotted this trying to read (and understand) code and haven't run a test with it.

Attachments (1)

create_update.diff (706 bytes) - added by richardh 7 years ago.
warning to warnings patch

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by richardh

warning to warnings patch

comment:1 Changed 7 years ago by gwilson

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

(In [8105]) Fixed #7988 -- Corrected import of the warnings module, thanks richardh.

comment:2 Changed 4 years ago by jacob

  • milestone 1.0 beta deleted

Milestone 1.0 beta deleted

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