I copy and pasted your line into my httpd.conf

<Location "/">
 RewriteEngine On
 SetHandler python-program
 PythonPath "['/home/thebest/TheBest/alpha1/TheBest'] + sys.path"
 PythonHandler django.core.handlers.modpython
 SetEnv DJANGO_SETTINGS_MODULE TheBest.settings
 PythonDebug On
</Location>

Still getting the same error

So my __init__.py is in the directory /home/thebest/TheBest/alpha1/
TheBest

I set my PythonPath to /home/thebest/TheBest/alpha1/

Doesn't the TheBest.settings tell Django to goto TheBest directory?

I'm pointing PythonPath to one level below my django project


On Jun 6, 8:10 pm, Don Arbow <[EMAIL PROTECTED]> wrote:
> On Wednesday, June 6, 2007, at 04:45 PM, ATLBeer wrote:
> > Yeah... the directory structure is confusing but, I'm pretty sure I
> > have it correct
>
> > [snip]
>
> > /home/thebest/TheBest/alpha1/TheBest
> > /home/"username"/"container"/"build_version"/"django_project"
>
> Well, then, there's your problem. You need to point to your project
> folder, according to what you wrote above, "TheBest" is your project
> folder, not "alpha1". PythonPath should be:
>
> PythonPath "['/home/thebest/TheBest/alpha1/TheBest'] + sys.path"
>
> http://www.djangoproject.com/documentation/modpython/#basic-
> configuration
>
> Don


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