Hey guys! I have no choice but deploy to this server, running CentOS 4.4, with no option to upgrade python beyond 2.3, and I'm getting this:
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 178, in handler return ModPythonHandler()(req) File "/usr/lib/python2.3/site-packages/django/core/handlers/modpython.py", line 155, in __call__ response = middleware_method(request, response) File "/usr/lib/python2.3/site-packages/django/contrib/sessions/middleware.py", line 95, in process_response obj = Session.objects.get_new_session_object() File "/usr/lib/python2.3/site-packages/django/contrib/sessions/models.py", line 37, in get_new_session_object obj, created = self.get_or_create(session_key=self.get_new_session_key(), File "/usr/lib/python2.3/site-packages/django/contrib/sessions/models.py", line 19, in get_new_session_key session_key = md5.new("%s%s%s%s" % (random.randint(0, sys.maxint - 1), os.getpid(), time.time(), settings.SECRET_KEY)).hexdigest() AttributeError: 'module' object has no attribute 'randint' --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---