Hi I'm not sure exactly how this work, but. Your problem is how the data is saved and retrieved.If you do self.sm_id after the save(), you will get the id by reference, but when the model itself needs to be saved, it need the data itself, which it hasn't, or something like that
Anyways, to get it to work you need to do it like this: > self.sm = SomeModel() > self.sm.save() self.sm = self.sm self.save() ~Jakob --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

