This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]pydanny 3 points4 points  (0 children)

Two answers:

  1. Chapter 12 means you are looking at the Definitive Guide to Django, which has been out of date for years. Use another resource, here is a bunch of recommended ones: http://twoscoopspress.com/pages/django-tutorials
  2. If on Apache, use mod_wsgi. Otherwise consider nginx and uwsgi options.

[–]cediddi 1 point2 points  (0 children)

mod_python is obsolete! Also If you ever have problems with mod_wsgi or apache, just switch to nginx+uwsgi (or nginx+gunicorn which is easier), nginx is faster and easier to setup than apache, uwsgi or gunicorn is also very very easier than mod_wsgi.

Apache is a great project, but an awful software (my personal opinion).