Skip to content

Instantly share code, notes, and snippets.

@ryszard
Created August 13, 2009 11:48
Show Gist options
  • Save ryszard/167117 to your computer and use it in GitHub Desktop.
Save ryszard/167117 to your computer and use it in GitHub Desktop.
(richard garibaldi):~/SetJam/setjam/setjam% ./manage.pyTraceback (most recent call last):
File "./manage.py", line 15, in <module>
execute_manager(settings)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Django-1.0.2_final-py2.6.egg/django/core/management/__init__.py", line 338, in execute_manager
setup_environ(settings_mod)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Django-1.0.2_final-py2.6.egg/django/core/management/__init__.py", line 316, in setup_environ
project_module = __import__(project_name, {}, {}, [''])
File "/Users/richard/SetJam/setjam/setjam/../setjam/__init__.py", line 33, in <module>
getattr(settings, 'LOG_FILE', "logs/setjam.log"),
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Django-1.0.2_final-py2.6.egg/django/conf/__init__.py", line 28, in __getattr__
self._import_settings()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Django-1.0.2_final-py2.6.egg/django/conf/__init__.py", line 57, in _import_settings
raise ImportError("Settings cannot be imported, because environment variable %s is undefined." % ENVIRONMENT_VARIABLE)
ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment