Re: importing models to script file

2010-08-05 Thread Reinout van Rees
On 08/04/2010 08:32 PM, Tony wrote: Hi, Im trying to import my models to another python file that I am making to use the database data. The problem is, I can't import the models for some reason. It keeps saying "ImportError: Settings cannot be imported, because environment variable DJANGO_SETTI

importing models to script file

2010-08-04 Thread Tony
Hi, Im trying to import my models to another python file that I am making to use the database data. The problem is, I can't import the models for some reason. It keeps saying "ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined." The thing is

importing models to script file

2010-08-04 Thread Tony
Hi, Im trying to import my models to another python file that I am making to use the database data. The problem is, I can't import the models for some reason. It keeps saying "ImportError: no module named " The thing is, it works on my home computer when I do it, but when I do it on webfacti