Hello Thejaswi, On Thu, Dec 07, 2006 at 09:59:28AM -0000, theju wrote: > whenever i use the following command (in a python shell) > I get the following error. > EnvironmentError: Environment variable DJANGO_SETTINGS_MODULE is > undefined.
Set it in your shell before starting python. I do the following in bash: export DJANGO_SETTINGS_MODULE=myproject.settings With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---