Re: DJANGO_SETTINGS_MODULE undefined error

2006-12-08 Thread Baurzhan Ismagulov
On Fri, Dec 08, 2006 at 08:43:42AM -, theju wrote: > Your tip worked, but how do we export variables in Windows (just > curious) If you have bash, just in the same way :) . If not, you can set it in the cmd process you call manage.py from ("set VAR=val"), or system-wide from Control Panel ->

Re: DJANGO_SETTINGS_MODULE undefined error

2006-12-08 Thread theju
Thank You Baurzhan, Your tip worked, but how do we export variables in Windows (just curious) -Thejaswi On Dec 7, 8:15 pm, Baurzhan Ismagulov <[EMAIL PROTECTED]> wrote: > Hello Thejaswi, > > On Thu, Dec 07, 2006 at 09:59:28AM -, theju wrote: > > whenever i use the following command (in a pyth

Re: DJANGO_SETTINGS_MODULE undefined error

2006-12-07 Thread Baurzhan Ismagulov
Hello Thejaswi, On Thu, Dec 07, 2006 at 09:59:28AM -, 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 fol

DJANGO_SETTINGS_MODULE undefined error

2006-12-07 Thread theju
Hi, I use Django 0.95 with python 2.4.4 on Fedora Core 6. I want to use the object_list generic view from django.views.generic.list_detail.object_list, but whenever i use the following command (in a python shell) >>> from django.views.generic import list_detail I get the following error. /// Trace