Re: mod_wsgi can't find app to import..but I added path to wsgi file?!
On May 26, 12:03 pm, Kenneth Gonsalves <law...@au-kbc.org> wrote:
> On Wednesday 26 May 2010 03:52:16 Chris Seberino wrote:
>
> > I tried adding paths to sys.path in the wsgi file.
>
> you need to add the path to the *parent* directory of your project, and your
> project should have __init__.py in every folder where there are python files
And the directories/files must be readable by the user that Apache is
running the application as, ie., the Apache user, if you haven't used
daemon mode and run it as a different user.
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home