Hello all--

I've been casually trying to get mod_wsgi working in a Ubuntu 8.10 sever, to
run even the simplest of Django test projects.  So far, I've had no dice
getting the example Django wsgi scripts to work.

Most simply, I'm having an import error, which is baffling me beyond my
sanity.  I've examined both the docs found on the mod_wsgi site, and also on
Django's wiki system (found here:
http://code.djangoproject.com/wiki/django_apache_and_mod_wsgi ).

Currently, I've been following the latter docs, as they seemed more
comprehensive from start to finish.

No matter what I append to the sys.path variable in the example '.wsgi'
file, I cannot import django.core.handlers.wsgi.  I get a "No module named
core.handlers.wsgi" ImportError.  Running python from within the root SVN
checkout of django, this import works wonderfully.  Elsewhere, not so.

This might be more of a Python question than a mod_wsgi or django question,
but am I wrong to assume that doing sys.path.append("/home/rydia/django")
(where my svn checkout lives) should put that on my PythonPath, for proper
module imports?

Perhaps I'm just missing something very basic, but my head has had it today
with more projects than I can handle :P
Quick notes: apache itself runs great, aliases to my media directory works
great, though I can't verify any success in the whole mod_wsgi department.

Thanks in advance,
Tim

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to modwsgi@googlegroups.com
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to