I have some problem with Django and mod_python (3.1.3.3).
With runserver all works fine but qith apache I receive always this message.

Mod_python error: "PythonHandler django.core.handlers.modpython"

Traceback (most recent call last):

  File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in 
HandlerDispatch
    result = object(req)

  File "/usr/lib/python2.3/site-packages/django/core/handlers/modpython.py", 
line 161, in handler
    return ModPythonHandler()(req)

  File "/usr/lib/python2.3/site-packages/django/core/handlers/modpython.py", 
line 128, in __call__
    self.load_middleware()

  File "/usr/lib/python2.3/site-packages/django/core/handlers/base.py", line 
36, in load_middleware
    raise exceptions.ImproperlyConfigured, 'Middleware module "%s" does not 
define a "%s" class' % (mw_module, mw_classname)

ImproperlyConfigured: Middleware module "django.contrib.sessions.middleware" 
does not define a "SessionMiddleware" class

-- 
______________________________________________________
email:[EMAIL PROTECTED]
http://patrick.pupazzo.org
______________________________________________________




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to