File "/home/roger/projects/playground/feincms_env/lib/python2.6/site-packages/django/core/handlers/base.py", line 39, in load_middleware for middleware_path in settings.MIDDLEWARE_CLASSES: File "/home/roger/projects/playground/feincms_env/lib/python2.6/site-packages/django/utils/functional.py", line 276, in __getattr__ self._setup() File "/home/roger/projects/playground/feincms_env/lib/python2.6/site-packages/django/conf/__init__.py", line 42, in _setup self._wrapped = Settings(settings_module) File "/home/roger/projects/playground/feincms_env/lib/python2.6/site-packages/django/conf/__init__.py", line 89, in __init__ raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e)) ImportError: Could not import settings 'portal.settings' (Is it on sys.path?): No module named portal.settings
ImportError: Could not import settings 'portal.settings' (Is it on sys.path?): No module named portal.settings
I tried to add this to my apache envvars file as:
export PATH=/home/roger/projects/playground/feincms_env/bin:/home/roger/projects/portal:$PATH
You need to add /home/roger/projects to your path, so that portal.settings can get imported.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/bAnugUREnzQJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.