Kenneth Gonsalves wrote:
> On 06-Feb-08, at 7:41 PM, Tony Winslow wrote:
>
>   
>> I installed mod_python and do the configurations as the tutorial on  
>> the
>> official site. But mod_python still can not find the mysite.settings
>> module. What might be the problem?
>>     
>
> paste the relevant part of your apache config
>
>   
<Location "/mysite/">
      SetHandler python-program
      PythonHandler django.core.handlers.modpython
      SetEnv DJANGO_SETTINGS_MODULE mysite.settings
      PythonDebug On
      PythonPath "sys.path + ['/path/to/mysite', '/var/www']"
</Location>


I've tried many ways:
put settings.py with the other source codes,
set DJANGO_SETTINGS_MODULE to be settings or mysite.settings

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to