On Tue, Dec 30, 2008 at 1:29 PM, Peter <[email protected]> wrote: > > I have two models: Person and Telephone. A person can have many > telephones but a telephone belongs to at most one person. The models > are: > > [snipped] > Using PostgreSQL this allows me a single phone number for a person. I > can chnage and delete the number. However if I add more than one phone > number I cannot change or delete numbers. > > Changing from PostgreSQL to MySQL this issue disappears. > > There is no useful error information I can access (just the default > ValidationError). Has anyone any idea what this might be? >
(You don't say what version of Django you are using.) What you describe sounds similar to a few problems that have been reported. See #9006, #9076, #9758. You are less likely to hit the problem with the change that went in for #9076 (I think that's included in 1.0.2) but I believe the only way to completely ensure you do not see this issue with PostgreSQL at present is to include a default ordering for your inlined model. Karen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

