http://docs.djangoproject.com/en/dev/topics/settings/#designating-the-settings
On Mon, Nov 10, 2008 at 07:13, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > >>> from django.db.models import Q > > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/lib/python2.5/site-packages/django/db/__init__.py", line > 9, in <module> > if not settings.DATABASE_ENGINE: > File "/usr/lib/python2.5/site-packages/django/conf/__init__.py", > line 28, in __getattr__ > self._import_settings() > File "/usr/lib/python2.5/site-packages/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. > > > I have received this error. How Can i resolve it ? > I am newbie with django and python > byeee > > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---