Adrian Holovaty wrote:
On 1/4/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > FWIW, it amazes me sometimes that although Django can be made to work > on mod_python that very few if any Django developers I have seen > exhibit any real knowledge about how Apache/mod_python works. As a > consequence I keep seeing incorrect statements and advice being made > about mod_python on lists and also in Django documentation. These > problems extend to there also being some potentially questionable code > in the mod_python adaptor for Django as well. Although I have pointed > out at times that what is being said doesn't make sense or is wrong, no > one seems to make an attempt to address it. Hi Graham, Could I trouble you to bring up those issues again? I did a quick search and assume you're talking about this comment of yours: http://www.djangoproject.com/documentation/modpython/#c2029
And: http://www.djangoproject.com/documentation/faq/#c2813 The latter comments are relevant to actual Django source code as it appears to rely internally on being able to pass information around in os.environ. If such information is different for different requests, this will be a problem in a multithreaded Apache MPM such as worker on UNIX or winnt on Windows. The problems with worker MPM suggested by first link above may well be accounted for by use of os.environ if Django is relying on it in some way. But then, the problem should also affect winnt MPM on Windows as well as it also is multithreaded, but there has been no suggestion of problems on Windows, only worker MPM on UNIX. This is why the inability of anyone to clarify why the worker MPM shouldn't be used is a bit frustrating. For the record, I should state I don't use Django myself, I only keep an eye out for any connections between it and mod_python and try and correct any wrong comments about mod_python I see. Graham --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---