Saturday, April 30, 2011

Re: django uwsgi

It sounds like your project directory is not on your PYTHONPATH, so when
settings tries to import your default urls.py it fails.

I'm not familiar with uwsgi, so maybe that's what the addsitedir is
supposed to do, but other wsgi files I've seen there's always been a
line like sys.path.append(project_path).


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

No comments:

Post a Comment