Re: DJANGO_SETTINGS_MODULE ERROR using Django models from python shell

2007-08-07 Thread Bruno Tikami
Hi everybody (specially Malcom), After a long period, I had time to delte the unecessary variables and test it. So, finally, the goes the list of settigns you must include on you default settings file in order to use you application models outside Django web context (a python server side script

Re: DJANGO_SETTINGS_MODULE ERROR using Django models from python shell

2007-05-11 Thread Bruno Tikami
Malcolm, it works Thanks a lot, I shall delete the unecessary global settings. TKS!!! Tkm On 5/11/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > Hi Bruno, > > On Fri, 2007-05-11 at 11:11 -0300, Bruno Tikami wrote: > > Hello Malcolm > > > > Thanks for you fast reply > > > >

Re: DJANGO_SETTINGS_MODULE ERROR using Django models from python shell

2007-05-11 Thread Malcolm Tredinnick
Hi Bruno, On Fri, 2007-05-11 at 11:11 -0300, Bruno Tikami wrote: > Hello Malcolm > > Thanks for you fast reply > > I'll try to put the missing settings on my project.settings . Do I > have to call configure() in some diferent way after I do that? I mean, > if my settings have all the

Re: DJANGO_SETTINGS_MODULE ERROR using Django models from python shell

2007-05-11 Thread Bruno Tikami
Hello Malcolm Thanks for you fast reply I'll try to put the missing settings on my project.settings . Do I have to call configure() in some diferent way after I do that? I mean, if my settings have all the global settings... On 5/11/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > On

Re: DJANGO_SETTINGS_MODULE ERROR using Django models from python shell

2007-05-11 Thread Malcolm Tredinnick
On Fri, 2007-05-11 at 22:53 +1000, Malcolm Tredinnick wrote: [...] > Manual configuration isn't really designed to make it trivial to specify > your normal settings file and some overrides like you are trying to do > here. I should point out that there wasn't really any technical reason for

Re: DJANGO_SETTINGS_MODULE ERROR using Django models from python shell

2007-05-11 Thread Malcolm Tredinnick
On Fri, 2007-05-11 at 09:41 -0300, Bruno Tikami wrote: > Hi! > > I'm trying to use Django models from a python script and I'm having > some settings problem. Even though I called settings.configure, it > keeps ordering for some other setting parameter. The error is listed > below. Any idea? >

DJANGO_SETTINGS_MODULE ERROR using Django models from python shell

2007-05-11 Thread Bruno Tikami
Hi! I'm trying to use Django models from a python script and I'm having some settings problem. Even though I called settings.configure, it keeps ordering for some other setting parameter. The error is listed below. Any idea? $ python >>> import recorder >>> import recorder.settings >>> from