Hi,
I have a rather complicated scenario.

I have two models A and B.

I have a third Class C which inherits both A and B.

I am now overriding the save method of class C using super.save

Now an object A is added to the database.

However when the save method of B is called it fetches the id field of
Model A.

So the id field of both my models A and B is always duplicate. However
the problem is that there are many other sources by which my model B
is created. Hence many times my model B is just updated( as an object
with same id already exists) when it should have been created.

Please Help.

Shitiz

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to