Re: Simple object creation in postgresql with django views code...

2008-07-07 Thread RossGK
Oops - posted too quickly - the lack of change to the DB is actually a more recent manifestation. From the code posted, the 'not working' issue was just that the print statements wouldn't yield any output on the console at all. I guess when django has trouble with the code it ignores it and mov

Re: Simple object creation in postgresql with django views code...

2008-07-07 Thread RossGK
Sorry - the issue is that no change occurs to the database - I am using pgAdminIII to inspect the database, and so can see if an entry gets created in my table. Here's the dbpart of the settings.py file seems pretty featureless... DATABASE_ENGINE = 'postgresql_psycopg2' # 'postgresql_

Re: Simple object creation in postgresql with django views code...

2008-07-04 Thread Daniel Roseman
On Jul 4, 5:00 pm, RossGK <[EMAIL PROTECTED]> wrote: > I'm trying to do a bit of simple Django access to a postgresql > database, and must be missing something. Using the tutorial info, I've > had mixed success. I can pull a bit of stuff form the database, but > have some curious behaviour that

Simple object creation in postgresql with django views code...

2008-07-04 Thread RossGK
I'm trying to do a bit of simple Django access to a postgresql database, and must be missing something. Using the tutorial info, I've had mixed success. I can pull a bit of stuff form the database, but have some curious behaviour that is slowing me down. See the example details below... Proble