On Jun 28, 7:04 pm, bruno desthuilliers <[email protected]> wrote:
> Not enough info to be sure but looks like some sys.path order issue to > me. Forgot to mention that ./manage.py and (or ?) the dev server sometimes behave a bit strangely wrt/ imports, so depending on your code layout and how you declare your apps in your settings.INSTALLED_APPS (ie "myproject.myapp" or just "myapp"), you might end up with 1/ same modules imported twice under different names (ie "sites" and "myapp.sites") and 2/ a different sys.path than when deploying using mod_wsgi or mod_python. You may want to have a read at Graham Dumpleton's post about this: http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html HTH -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. 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.

