On Sep 26, 3:59 am, Steve  Potter <[EMAIL PROTECTED]> wrote:
> > This sort of odd error can sometimes come up if you have chosen names
> > for directories/modules which clash with standard Python module names.
>
> > Where you have in your WSGI script file for mod_wsgi something like:
>
> > sys.path.append('/usr/local/django')
> > sys.path.append('/usr/local/django/mysite')
>
> > change it to:
>
> > sys.path.insert(0, '/usr/local/django')
> > sys.path.insert(0, '/usr/local/django/mysite')
>
> > This will ensure that your site directories are first in the path
> > before any of the standard Python modules directory and if you have
> > used a name which is the same as some standard module, your module
> > will take precedence.
>
> > Other than that, would need to see the full error and traceback and if
> > related to something in urls.py, show the contents of your rules as
> > well so can see what target modules/properties are.
>
> > Graham
>
> Graham,
>
> I tried changing the paths as you mentioned above, but nothing
> changed.  You can see the full traceback 
> at:http://www.missedventures.com/imglog/

What does your urls.py file contain though.

BTW, this is more looking like debugging something related to how
Django works rather than it being a mod_wsgi issue. Possibly how
Django deals with something in urls.py differs slightly between
development server and when run under Apache. Based on past list
conversations, this sometimes occur where trailing slashes haven't
been used consistently in the way they should.

Anyway, this is getting beyond my knowledge of Django. If you post the
urls.py file, someone else might perhaps see something in there which
is unconventional.

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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to