Hi Folks,

I have startetd a project/app
, created a Model. All fine

in Python-Interpreter an

>>>import kb.models
>>>

works fine.

But the same in a file occurs erros like

raise EnvironmentError, "Could not import settings '%s' (Is it on
sys.path? Does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e)
EnvironmentError: Could not import settings
'/home/tk/Documents/Projekte/djangoprj/kassenbuch/settings' (Is it on
sys.path? Does it have syntax errors?): No module named
/home/tk/Documents/Projekte/djangoprj/kassenbuch/settings

The DJANGO_SETTINGS_MODULE Variable is set.
Why does it works in the Python-Interpreter but not in a File???

Thx
Timothy


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to