Re: Disabling object persistence ?

2013-10-04 Thread Javier Guerra Giraldez
On Fri, Oct 4, 2013 at 1:45 AM, Marc'h wrote: > Thus, I'd like to know if there is any means to by-pass the automatic > persistence mechanism when using collection attributes which are foreign-key > based. the ORM is a mapping to an SQL database, by definition that means persistent storage. whi

Re: Disabling object persistence ?

2013-10-04 Thread Daniel Roseman
On Friday, 4 October 2013 07:45:40 UTC+1, Marc'h wrote: > Hello, > > I'm battling with Django in order to try avoiding object persistence when > initialising foreign key model attributes. The app I'm using Django for > implements a facade for an already existing

Disabling object persistence ?

2013-10-03 Thread Marc'h
Hello, I'm battling with Django in order to try avoiding object persistence when initialising foreign key model attributes. The app I'm using Django for implements a facade for an already existing database. It's main purpose is to be used as a (read-only) ReST server returning o

Re: object persistence

2007-10-26 Thread Malcolm Tredinnick
On Fri, 2007-10-26 at 15:57 +, Luke wrote: > In one of my django apps, I need to access another database that is > unrelated to django's db. We are using psycopg to access this. There > is some code running some calculations inside the db as a shared > object, and it is tied to a connection,

object persistence

2007-10-26 Thread Luke
In one of my django apps, I need to access another database that is unrelated to django's db. We are using psycopg to access this. There is some code running some calculations inside the db as a shared object, and it is tied to a connection, so we need to keep it open and not make a new connecti