Saturday, April 30, 2011

Re: django uwsgi

Thanks Shawn,
That is exactly what it is. I could have added one path up. I just
changed my
ROOT_URLCONF = 'urls' instead of ROOT_URLCONF = 'project.urls' in my
settings and it works fine.

On Apr 30, 1:42 pm, Shawn Milochik <sh...@milochik.com> wrote:
> 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