Re: exclude field from SQL insert

2011-07-13 Thread Venkatraman S
On Wed, Jul 13, 2011 at 8:57 PM, Tom Evans wrote: > Models based on views are not explicitly supported, but should work > well in practice (use managed=False in the meta class). Virtual > computed 'fields' are definitely not supported for update/insert. > Nice, i didnt know this. -- You receiv

Re: exclude field from SQL insert

2011-07-13 Thread Tom Evans
On Wed, Jul 13, 2011 at 4:05 PM, Slafs wrote: > Hello. > > I have a model in Django that is based on database view. One of the fields > is "virtual" (computed in the view) . > I would like to exclude this field in my model from being used in SQL Insert > and Update statements. > > Do You know mayb

exclude field from SQL insert

2011-07-13 Thread Slafs
Hello. I have a model in Django that is based on database view. One of the fields is "virtual" (computed in the view) . I would like to exclude this field in my model from being used in SQL Insert and Update statements. Do You know maybe how can I do that ? Regards -- You received this mes