Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#14436 closed (fixed)

Bump PendingDeprecationWarnings to DeprecationWarnings

Reported by: Russell Keith-Magee Owned by: Russell Keith-Magee
Component: Core (Other) Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The PendingDeprecationWarnings introduced in Django 1.2 need to be escalated to full DeprecationWarnings. The test suite will then require additional checks to silence warnings known to occur.

The small number of full DeprecationWarnings in 1.2 need to be escalated to a removal from the codebase. This means admin.site.root() and the SetRemoteAddrFromForwardedFor Middleware.

See also #13588, which does the deprecation for admin.site.root, as well as other changes to make the admin site make the most of the URL reversal tools that are now guaranteed available.

Change History (3)

comment:1 Changed 6 years ago by Russell Keith-Magee

Owner: changed from nobody to Russell Keith-Magee
Status: newassigned
Triage Stage: UnreviewedAccepted

comment:2 Changed 6 years ago by Russell Keith-Magee

Resolution: fixed
Status: assignedclosed

(In [14138]) Fixed #14436 -- Escalated 1.2 PendingDeprecationWarnings to DeprecationWarnings, and removed 1.1 deprecated code.

comment:3 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

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