Re: Mod_python and Django - PROBLEM

2006-06-12 Thread PythonistL
Malcom, Thank you for the help. You were right. Permissions were the problem L. --~--~-~--~~~---~--~~ 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.co

Re: Mod_python and Django - PROBLEM

2006-06-10 Thread Malcolm Tredinnick
On Sat, 2006-06-10 at 04:35 -0700, PythonistL wrote: > Malcom. > Thank you for help. > I followed > http://www.modpython.org/live/current/doc-html/inst-trouble.html > so i added to my httpd.conf > > > SetHandler mod_python > PythonHandler mod_python.testhandler > > > > but whe

Re: Mod_python and Django - PROBLEM

2006-06-10 Thread PythonistL
Malcom. Thank you for help. I followed http://www.modpython.org/live/current/doc-html/inst-trouble.html so i added to my httpd.conf SetHandler mod_python PythonHandler mod_python.testhandler but when I point my browser to the /mpinfo URL I will get Mod_python err

Re: Mod_python and Django - PROBLEM

2006-06-10 Thread Malcolm Tredinnick
On Sat, 2006-06-10 at 03:35 -0700, PythonistL wrote: > Simon, > On Apache > I use > Apache/2.0.55 (Trustix Secure Linux/Linux) > mod_python/3.2.8 > Python/2.3.5 > PHP/5.0.5 > mod_perl/2.0.0 Perl/v5.8.7 Since you are using mod_python 3.2.8, have you tried looking at the output of the helper descri

Re: Mod_python and Django - PROBLEM

2006-06-10 Thread PythonistL
Simon, On Apache I use Apache/2.0.55 (Trustix Secure Linux/Linux) mod_python/3.2.8 Python/2.3.5 PHP/5.0.5 mod_perl/2.0.0 Perl/v5.8.7 Do you think there can be a problem? Thank you for help regards, L --~--~-~--~~~---~--~~ You received this message because you are

Re: Mod_python and Django - PROBLEM

2006-06-10 Thread Simon Willison
On 10 Jun 2006, at 10:02, PythonistL wrote: > ImproperlyConfigured: Could not load database backend: No module named > _mysql. Is your DATABASE_ENGINE setting (currently, 'mysql') spelled > correctly? Available options are: 'ado_mssql', 'mysql', 'postgresql', > 'sqlite3' > > > but from Python sh

Re: Mod_python and Django - PROBLEM

2006-06-10 Thread PythonistL
My settings.py looks like this: # Django settings for mimiproject project. DEBUG =True TEMPLATE_DEBUG = DEBUG SESSION_COOKIE_AGE=259200 ADMINS = ( # ('Your Name', '[EMAIL PROTECTED]'), ) MANAGERS = ADMINS SERVER_EMAIL='[EMAIL PROTECTED]' DEFAULT_FROM_EMAIL='[EMAIL PROTECTED]' EMAIL_HOST='loc

Re: Mod_python and Django - PROBLEM

2006-06-10 Thread PythonistL
Hello Michael, thank you for help.It solved that problem. But now it says File "/home/django_src/django/core/db/__init__.py", line 23, in ? raise ImproperlyConfigured, "Could not load database backend: %s. Is your DATABASE_ENGINE setting (currently, %r) spelled correctly? Available options a

Re: Mod_python and Django - PROBLEM

2006-06-09 Thread Michael Radziej
PythonistL wrote: Fast guess: > My httpd.conf looks like this > > > ... > > > ServerName www.eim.com > SetHandler python-program > PythonPath "['/home/django_projects/'] + sys.path" ^^ add '/home/django_src' to this. Does it help? Michael --~--~-~--~

Mod_python and Django - PROBLEM

2006-06-09 Thread PythonistL
I am going to setup Django with mod_python and Apache on Linux but when I try to use a script from a browser I will get the error: ## Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/mod_p