On Tue, Dec 30, 2008 at 2:37 PM, Peter <[email protected]> wrote:

> > (You don't say what version of Django you are using.)
>
> Sorry - 1.0 final
>
> > What you describe
> > sounds similar to a few problems that have been reported.
>
> Ah yes. I looked. Thanks. Nasty.
>
> > 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.
>
> Well I have updated to 1.1 pre-alpha SVN-9692' and the issue has been
> fixed. You say to
> include a default ordering "for your inlined model". Can you show me
> on the model I supplied
> how I should do this. It does include an ordering already but I
> presume not the right one?
>
> Thanks for yur help here - an amazing list this.
>
>
Sorry, I missed that you had included an ordering for Telephone. If that
ordering provides a unique sequence (no duplicate phone_numbers) then I am
not sure you are hitting the problem I was thinking of.  If the specified
ordering can result in the same set of rows being returned by the DB in
different orders (due to duplicates in the ordering field) for different
calls, then I think to ensure you don't hit the problem you need to include
a field in ordering such as the primary key to guarantee that each time the
set is returned it is in the same order.

So, I'm not sure if you were hitting the problem I was thinking of.  If
updating to current trunk level has made it go away then you might have been
running into something entirely different that was fixed between 1.0 and
now.  Unfortunately right now I do not have time to experiment with your
models and say with any more certainty what was/is going on....

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to