thx Graham.

and this is key point:

PythonPath "['/path/to/parent','/path/to/parent/mysite1'] +sys.path"

On 9月3日, 下午6时50分, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
> See:
>
>  http://code.djangoproject.com/ticket/5299
>
> and the reference mailing list thread.
>
> If you do not reference through the site name, you need to add the
> directory for the site to PythonPath.
>
> Graham
>
> On Sep 3, 6:14 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > i used the development server to test my project, it is ok.
>
> > but when i switch to apache+mod_python, i got errors as below:
>
> > Request Method: GET
> > Request URL:http://127.0.0.1/
> > Exception Type: ImportError
> > Exception Value: No module named registration.forms
> > Exception Location: D:\djangopro\mysite\registration\views.py in
> > <module>, line 10
> > Python Executable: C:\Apache2\bin\Apache.exe
> > Python Version: 2.5.1
>
> > when i switch back to development server, it is ok again, what happens
> > to my project?
> > thx!


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