Hi all,

I have two models (Person, PersonUpdate) with a many-to-many field (properties). The properties of a personupdate should be initialized (copied) from that of the corresponding person. But before I can add a list of properties to a new personupdate, it must have an id, and therefore be saved in the database. If I create a personupdate using PersonUpdate.objects.create or ~.get_or_create, I don't mind saving the object, but I don't want to call 'self.save()' in PersonUpdate.__init__. How should I handle this?

Cheers, Roald

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

Reply via email to