Code

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#14436 closed (fixed)

Bump PendingDeprecationWarnings to DeprecationWarnings

Reported by: russellm Owned by: russellm
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.

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to russellm
  • Patch needs improvement unset
  • Status changed from new to assigned
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 4 years ago by russellm

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

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

comment:3 Changed 3 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.