Hi,

I'd like to use WingIDE's own python shell with django, instead of the
terminal you get with manage.py shell.

However, if I try to eval a file form within Wing, I get this error:

Traceback (most recent call last):
  File "/home/fernando/<string>", line 1, in <module>
  File "/var/lib/python-support/python2.5/django/db/__init__.py", line
7, in <module>
    if not settings.DATABASE_ENGINE:
  File "/var/lib/python-support/python2.5/django/conf/__init__.py", line
28, in __getattr__
    self._import_settings()
  File "/var/lib/python-support/python2.5/django/conf/__init__.py", line
53, in _import_settings
    raise EnvironmentError, "Environment variable %s is undefined." %
ENVIRONMENT_VARIABLE
EnvironmentError: Environment variable DJANGO_SETTINGS_MODULE is
undefined.

How can I fix this?

Thanks!



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

Reply via email to