Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#13820 closed (fixed)

Deprecate mod_python support

Reported by: Robert Coup Owned by: nobody
Component: HTTP handling Version: dev
Severity: Keywords: mod_python, mod_wsgi, wsgi, apache
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: yes
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

As proposed & discussed in the 1.3 Start deprecating mod_python? thread on Django-Developers, here's the ticket.

For the rationale, see the mailing list thread.

Things to do:

  • Make use of mod_python raise a PendingDeprecationWarning
  • Add "don't use this" messages to the deployment docs, and remove altogether from the install/etc documentation
  • Update wiki pages to steer people away from mod_python
  • Add to the Deprecation timeline and release notes

Hotshot Profiler

From Russell in the same mailing-list thread:

The only catch I can think of that hasn't been raised is the hotshot profiling handler; it's currently dependent on the modpython handler. I don't think there's a whole lot of extra work required to port it over, but it's worth putting on the todo list so it isn't forgotten.

Graham D also posted a wsgi equivalent piece of code.

Options:

  • port to WSGIHandler
  • move the wsgi-equivalent code to the docs, or the wiki, or django-snippets; and remove from the codebase altogether when removing mod_python

Attachments (1)

django-13820.diff (17.3 KB ) - added by Joshua Ginsberg <jag@…> 14 years ago.
Patch to add warnings and update docs to piss on mod_python

Download all attachments as: .zip

Change History (6)

comment:1 by Robert Coup, 14 years ago

Needs documentation: set
Triage Stage: UnreviewedAccepted

Moving to Accepted based on +1's from Jacob & Russell in the django-developers thread

by Joshua Ginsberg <jag@…>, 14 years ago

Attachment: django-13820.diff added

Patch to add warnings and update docs to piss on mod_python

comment:2 by Joshua Ginsberg <jag@…>, 14 years ago

Has patch: set

Enjoy.

comment:3 by Russell Keith-Magee, 14 years ago

Resolution: fixed
Status: newclosed

(In [13648]) Fixed #13820 -- Started the deprecation process for mod_python. Thanks to Robert Coup for the patch.

comment:4 by Russell Keith-Magee, 14 years ago

GAH! My apologies - the patch credit goes to Joshua Gisberg, not Robert. Thanks to Robert for the report, and Joshua for the patch.

comment:5 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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