I wasn't sure if the syntax was different for Unix/Windows. I think it
would be helpful if the tutorial made a statement to that effect.


On 29 Aug, 23:39, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
> On Aug 29, 11:06 pm, b3n <[EMAIL PROTECTED]> wrote:
>
> > Hey I managed to get Apache to find Django!
>
> > <Location "/">
> >     SetHandler python-program
> >     PythonHandler django.core.handlers.modpython
> >     PythonPath "['C:\Python'] + sys.path"
> >     SetEnv DJANGO_SETTINGS_MODULE bookmarks.settings
> >     PythonDebug On
> > </Location>
>
> > Now I get a nice Django-styled error instead of the crappymod_python
> > one ;)
>
> And to make it clear to others what the problem was, you weren't
> setting PythonPath correctly as per the documentation. Ie., you were
> missing the fact that you had to add to sys.path and not replace it.
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to