In runserver, I can view my website no problems. (viewing it through lynx on the same machine)
But when I view the same thing through apache, (passenger) I get an error like the following:
Could not import PROJ.APP.views Error was: No module named PROJ.views
It looks like a problem with the urlconf, but again that is the same between both runserver and not.
I have disabled admin & admin autodiscovery.
I have killed all running python instances & deleted all .pyc files. I don't use any {% url %} tags in any templates.
The question is in general, what type of things could be causing this?
solved it was a problem of relative imports. In some files I was importing APP.models instead of PROJ.APP.models.